The Grid to Grid Anomaly use case utilizes the MET grid_stat tool.
Optional: Refer to section 4.1 and 7.3 of the MET Users Guide for a description of the MET tools used in this use case.
Optional: Refer to section 4.4 (A-Z Config Glossary) of the METplus 2.0.4 Users Guide for a reference to METplus variables used in this use case.
Setup
Edit Custom Configuration File
Define a unique directory under output that you will use for this use case.
Edit ${HOME}/METplus/parm/mycustom.conf
Change OUTPUT_BASE to contain a subdirectory specific to the Grid to Grid use case.
... other entries ...
OUTPUT_BASE = {ENV[HOME]}/metplus_tutorial/output/grid_to_grid
Using your custom configuration file that you created in the METplus: CUSTOM Configuration File Settings section and the Grid to Grid use case configuration files that are distributed with METplus, you should be able to run the use case using the sample input data set without any other changes.
Review Use Case Configuration File: anom.conf
Open the file and look at all of the configuration variables that are defined.
Note that variables in anom.conf reference other config variables that have been defined in your mycustom.conf configuration file. For example:
This references INPUT_BASE which is set in your custom config file. METplus config variables can reference other config variables even if they are defined in a config file that is read afterwards.
Run METplus
Run the following command:
METplus is finished running when control returns to your terminal console.
Review the Output Files
You should have output files in the following directories:
- grid_stat_GFS_vs_ANLYS_240000L_20170613_000000V.stat
- grid_stat_GFS_vs_ANLYS_480000L_20170613_000000V.stat
- grid_stat_GFS_vs_ANLYS_240000L_20170613_060000V.stat
- grid_stat_GFS_vs_ANLYS_480000L_20170613_060000V.stat
Take a look at some of the files to see what was generated.
Review the Log Files
Log files for this run are found in $HOME/metplus_tutorial/output/grid_to_grid/logs. The filename contains a timestamp of the current day.
NOTE: If you ran METplus on a different day than today, the log file will correspond to the day you ran. Remove the date command and replace it with the date you ran if that is the case.
Review the Final Configuration File
The final configuration file is $HOME/metplus_tutorial/output/grid_to_grid/metplus_final.conf. This contains all of the configuration variables used in the run.