Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MODIS L1b reader with additional geoinfo datasets #2946

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions satpy/etc/readers/modis_l1b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,34 @@ datasets:
coordinates: [longitude, latitude]
file_type: [hdf_eos_geo, hdf_eos_data_1000m]

landsea_mask:
name: landsea_mask
sensor: modis
resolution: 1000
coordinates: [longitude, latitude]
file_type: [hdf_eos_geo]

height:
name: height
sensor: modis
resolution: 1000
coordinates: [longitude, latitude]
file_type: [hdf_eos_geo]

range:
name: range
sensor: modis
resolution: 1000
coordinates: [longitude, latitude]
file_type: [hdf_eos_geo]

waterpresent:
name: waterpresent
sensor: modis
resolution: 1000
coordinates: [longitude, latitude]
file_type: [hdf_eos_geo]


file_types:
hdf_eos_data_250m:
Expand Down
4 changes: 4 additions & 0 deletions satpy/readers/hdfeos_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@ class HDFEOSGeoReader(HDFEOSBaseFileReader):
"satellite_zenith_angle": ("SensorZenith", "Sensor_Zenith"),
"solar_azimuth_angle": ("SolarAzimuth", "SolarAzimuth"),
"solar_zenith_angle": ("SolarZenith", "Solar_Zenith"),
"water_present": "WaterPresent",
"landsea_mask": "Land/SeaMask",
"height": "Height",
"range": "Range",
}

def __init__(self, filename, filename_info, filetype_info, **kwargs):
Expand Down
Loading