Skip to content

Commit

Permalink
Merge pull request #2946 from simonrp84/modis_extra
Browse files Browse the repository at this point in the history
Update MODIS L1b reader with additional geoinfo datasets
  • Loading branch information
mraspaud authored Nov 8, 2024
2 parents 4fbc20c + 1e27883 commit e74e6b0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
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

0 comments on commit e74e6b0

Please sign in to comment.