Skip to content

Add MODIS Land Surface Temperature tutorial with rasterio and rasterstats#1398

Draft
Qandeel-01 wants to merge 1 commit into
earthaccess-dev:mainfrom
Qandeel-01:tutorial/modis-land-surface-temperature
Draft

Add MODIS Land Surface Temperature tutorial with rasterio and rasterstats#1398
Qandeel-01 wants to merge 1 commit into
earthaccess-dev:mainfrom
Qandeel-01:tutorial/modis-land-surface-temperature

Conversation

@Qandeel-01

@Qandeel-01 Qandeel-01 commented Jul 13, 2026

Copy link
Copy Markdown

Summary

This PR adds a new tutorial notebook demonstrating a complete MODIS LST workflow using earthaccess.

File: \docs/user/tutorials/modis-land-surface-temperature.ipynb\

What the tutorial covers

  • Authenticate with NASA Earthdata using \earthaccess.login()\
  • Search and download MODIS MOD11A2 v061 (8-day LST, 1 km) granules by bounding box and date range
  • Mosaic multi-tile HDF data, apply scale factor (×0.02) and convert Kelvin → Celsius
  • Reproject to WGS84 with GDAL
  • Clip raster to a regional boundary with
    asterio\
  • Compute district-level zonal statistics with
    asterstats\
  • Visualise results with \geopandas\ and \matplotlib\

Why this is useful

There is currently no MODIS-specific tutorial in the earthaccess docs. This fills that gap with a real end-to-end workflow that goes beyond search/download into actual raster processing — a common next step for users who find earthaccess through MODIS use cases (see also issue #1057).

The notebook is based on a working analysis of Pakistan Land Surface Temperature for April 2025 and has been tested in Google Colab.

Related issues

Checklist

  • PR title is descriptive
  • New tutorial follows existing naming convention (\emit-earthaccess.ipynb, etc.)
  • No new dependencies beyond what earthaccess already recommends
  • CHANGELOG.md updated (happy to add if maintainers point me to the right section)

📚 Documentation preview 📚: https://earthaccess--1398.org.readthedocs.build/en/1398/

@github-actions

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on this branch for commit 22eeba4

I will automatically update this comment whenever this PR is modified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant