Page 1 of 1

MODIS CMG HDF to nc4

Posted: Wed Oct 02, 2024 2:19 pm America/New_York
by lcandre2
I use MODIS daily SCF (DOI:10.5067/MODIS/MOD10A1.061 and DOI:10.5067/MODIS/MYD10A1.061) for snow cover assimilation. A change in compilers is removing support for fortran to HDF4 interfacing.

So, my question: I see that EARTHDATA provides reformatting support upon download for MODIS Aqua and Terra SCF for HDF4 to GeoTIFF. On the off chance that I missed something, is there such support for HDF4 to NetCDF4?

Re: MODIS CMG HDF to nc4

Posted: Tue Oct 22, 2024 3:25 pm America/New_York
by NSIDCx - greckase
Thank you for reaching out for assistance with MODIS daily SCF products. The NSIDC does not have a tool or instructions for converting HDF to NetCDF.

We do have a help article for converting GeoTIFF to NetCDF using gdal: https://nsidc.org/data/user-resources/help-center/how-do-i-convert-geotiff-netcdf-file

Additionally, this tool offered at UCAR may be helpful: https://www.ncl.ucar.edu/Document/Tools/ncl_convert2nc.shtml