Skip to content
Open
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
3 changes: 2 additions & 1 deletion staremaster/products/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
from staremaster.products.satcorps import satCORPS
from staremaster.products.modis_tilegrid import ModisTile
from staremaster.products.goes_abi_fixed_grid import GOES_ABI_FIXED_GRID
from staremaster.products.merra2 import MERRA2
from staremaster.products.merra2 import MERRA2
from staremaster.products.amsr2 import AMSR2
5 changes: 5 additions & 0 deletions staremaster/products/amsr2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from staremaster.products.xcal import XCAL


class AMSR2(XCAL):
scans = ['HDFEOS/SWATHS/AMSR2_L1R/Geolocation Fields/']
2 changes: 1 addition & 1 deletion staremaster/products/xcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _detect_file_format(self):

if file_ext in ['.nc', '.nc4', '.netcdf']:
return 'netcdf4'
elif file_ext in ['.h5', '.hdf5', '.hdf']:
elif file_ext in ['.he5', '.h5', '.hdf5', '.hdf']:
return 'hdf5'
else:
# Try to detect by attempting to open with each format
Expand Down
Loading