MET Online Tutorial for METv8.0 | Additional Tools > MODIS-Regrid

MODIS-Regrid Functionality

The MODIS-Regrid tool reformats gridded MODIS data from HDF into a gridded NetCDF format that MET can read. MODIS-Regrid requires the HDF and HDF-EOS libraries.

MODIS-Regrid Usage

View the usage statement for MODIS-Regrid by simply typing the following:

modis_regrid

At a minimum, the -data_file path specifying the data files used to get the grid information, the -field name specifying the name of the field to use in the modis data file, the -out path specifying the name of the output netcdf file, the -scale value specifying the scale factor to be used on the raw modis values, and the -offset value specifying the offset value to be used on the raw modis values, the -fill value specifying the bad data value in the modis data, and the modis_file specifying the name of the MODIS input file, must be passed in on the command line. Optionally, -units text may be given to specify the global attributes section of the output file and -compress level may be given to specify the compression level of the output NetCDF variable.