MET Online Tutorial for METv8.0 | Tutorial Setup > Input Data

Get the Tutorial Data

Throughout the remainder of this tutorial, we'll look at running each of the MET tools in greater detail using the sample data provided with the MET tarball. There is some additional data necessary to run the tutorial. Please set up a working directory on your machine for the MET Tutorial. Please retrieve this data (METv8.0_tutorial_data.tar.gz) by running the following commands:

wget http://www.dtcenter.org/sites/default/files/community-code/met/online-tutorial/tutorial-data/METv8.0_tutorial_data.tar.gz
tar -xvzf METv8.0_tutorial_data.tar.gz

The tutorial tarball also contains empty directories for the configuration and output files you will generate during this tutorial. Run the following command to list those directories (note that there is one output directory for each of the MET tools):

ls MET_Tutorial/config MET_Tutorial/output

Set up the Environment

If you haven't already added the full path of your MET installation bin directory to your PATH environment variable, please do that now.

The MET Tutorial uses an environment variable, MET_BASE, to specify the location of things like the default configuration files, common polygons, and color scales. This environment variable is the path to the MET shared data and should be set accordingly. For example, if the MET shared data is located at /usr/local/met/share/met, the user would run "setenv MET_BASE /usr/local/met/share/met".

The MET Tutorial uses an environment variable to specify the location of the input data and to output data. Please set MET_TUTORIAL_DATA to <working_dir_for_tutorial>/MET_Tutorial. For example, if you unpacked the tar file at /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial" in c-shell or, "export MET_TUTORIAL_DATA=/d1/met_user/met_tutorial/8.0/MET_Tutorial" in bash.