Three worked notebooks on public NOAA and Sentinel-2 data: GOES-16 LST, National Water Model forecasts, Sentinel-2 resampling

We’ve published three notebooks that read public data straight from cloud object storage, and I’d welcome feedback from people who know these datasets better than we do. They are at Case studies - ganymede (source: GitHub - eugo-inc/ganymede: Open HPC and scientific-Python notebooks from Eugo: case studies on public NOAA and Copernicus data (GOES-16, National Water Model, Sentinel-2), 44 Ray patterns, and smoke tests for 1,200+ Python packages and 240+ native libraries. · GitHub , BSD-3-Clause, archived on Zenodo as doi:10.5281/zenodo.24117549; committed with the outputs of a real run so the figures show on GitHub). All reads are anonymous, no cloud account needed.

GOES-16 land surface temperature (goes16_netcdf.ipynb). Lists the hourly ABI-L2-LSTC CONUS files for a day in the noaa-goes16 bucket, opens one from memory with xarray/h5netcdf, keeps DQF 0 and 1, and turns the fixed-grid scan angles into latitude/longitude with pyproj.CRS.from_cf on the goes_imager_projection attributes. It maps afternoon skin temperature on the native fixed grid (no regridding, because a few corner pixels look past the Earth) for 15 July 2023, during the Southwest heat wave, then compares the daily cycle over four surfaces (Sonoran Desert, Central Valley farmland, Cascade forest, Iowa cropland), leaving a region’s mean empty when less than 20% of it is clear. The GOES-16 archive ends in April 2025. the notebook points to noaa-goes19 for recent dates.

National Water Model streamflow forecasts (national_water_model.ipynb). Finds the newest 00 UTC medium-range run (member 1) in noaa-nwm-pds that has all 240 hourly channel files, maps forecast flow on reaches above 10 m³/s, and follows five long-running USGS gauges (Mississippi at Vicksburg, Ohio at Metropolis, Missouri at Hermann, Columbia at The Dalles, Sacramento at Freeport). The forecast files only carry feature_id, so reach coordinates and gauge ids come from the single-chunk coordinate arrays of the NWM Retrospective v3.0 Zarr store (chrtout.zarr), opened with chunks=None.

Sentinel-2 resampling (sentinel2_resampling.ipynb). Searches Element 84’s Earth Search (sentinel-2-c1-l2a) for 2024 growing-season scenes over central Iowa, keeps the most frequent MGRS tile, and reads only a 6 km window from each COG with range requests, with the window snapped to 60 m so the 10/20/60 m grids line up. It compares area-average with nearest when going from 10 m to 60 m, and nearest with bilinear when going from 20 m to 10 m, applies raster:bands scale/offset (and skips the offset for the older collection that already removed it), then computes an SCL-masked NDVI per scene.

Each notebook ends by running its per-file step over more files in parallel with Ray. The step is a plain Python function that opens its own connection to the data, so it should fit just as well into dask.bag or any other parallel map.

Things I’d especially like checked:

  • GOES: is DQF ≤ 1 the right cut for LST work, and is a 20% clear-sky threshold per region reasonable?
  • NWM: is joining forecast feature_ids to the v3.0 retrospective reach table safe for the current operational version, or is there a better source for reach locations and gauge ids?
  • Sentinel-2: any pitfalls with the Collection 1 offsets, or with bilinear resampling of the 20 m bands, that the notebook doesn’t mention?

Disclosure: I work at Eugo, which publishes the repository.