rslearn.data_sources.nasa_ecostress¶
nasa_ecostress ¶
NASA ECOSTRESS L2T LSTE data source backed by LP DAAC / CMR STAC.
This provides the ECOSTRESS Tiled Land Surface Temperature and Emissivity
Instantaneous L2 Global 70 m product (ECO_L2T_LSTE), served as Cloud-Optimized
GeoTIFFs from NASA's Earthdata Cloud (LP DAAC). Discovery uses the same CMR STAC
LPCLOUD endpoint as :mod:rslearn.data_sources.nasa_hls, so an Earthdata bearer
token (EARTHDATA_TOKEN) is required to read the protected assets.
By default this data source exposes only the LST band (land surface / skin
temperature), which the tiled COGs provide as float32 Kelvin with a NaN fill
value.
Cloud masking: the LST retrieval is run on all pixels regardless of cloud cover, so
cloudy pixels are not reliably set to NaN in the LST layer -- only pixels where
no retrieval was produced are filled with NaN. For authoritative cloud screening,
NASA recommends the separate cloud layer (0 = clear, 1 = cloudy); add "cloud"
to band_names and keep only pixels where it equals 0.
See https://www.earthdata.nasa.gov/data/catalog/lpcloud-eco-l2t-lste-002 and https://ecostress.jpl.nasa.gov/ for details.
EcostressLSTE ¶
Bases: _NasaHlsBase
NASA ECOSTRESS Tiled L2 LST&E (ECO_L2T_LSTE) data source.
The product is a tiled (MGRS-based) 70 m instantaneous land surface temperature and emissivity dataset served as Cloud-Optimized GeoTIFFs from LP DAAC. Each layer (LST, QC, cloud, ...) is a separate COG.
By default only the LST band (skin temperature, float32 Kelvin, NaN fill)
is retrieved. An Earthdata bearer token is required (see EARTHDATA_TOKEN).
ECOSTRESS STAC assets are keyed by their full granule-relative path rather than a
short band name, so we map each requested band to its asset by matching the
_<band> filename suffix (e.g. ..._LST for LST).
Source code in rslearn/data_sources/nasa_ecostress.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |