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

Since MODIS-Regrid simply performs a reformatting step, no configuration file is needed.

Run MODIS-Regrid on the command line using the following command:

modis_regrid \

-data_file $MET_TUTORIAL_DATA/input/sample_fcst/2005080712/wrfprs_ruc13_00.tm00_G212 \

-field Surface_Temperature \

-out $MET_TUTORIAL_DATA/output/modis_regrid/m_sfc_temp.nc \

-units K \

-scale 0.01 \

-offset -15000 \

-fill -32768 \

$MET_TUTORIAL_DATA/input/sample_obs/modis/MYD06_L2.A2013032.0630.051.2013032185634.hdf

MODIS-Regrid is now processing the input field from modis_file into NetCDF format and writing it to the output m_sfc_temp.nc file on the grid specified with -data_file option using the appropriate scale, offset, and fill values.