MET Online Tutorial for METv8.0 | Tutorial Setup > Existing MET Builds

Instead of compiling the MET code and its required libraries, some users may have access to the pre-compiled versions of MET that exist on various NCAR and NOAA machines. 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. Instructions for setting up the environment and for accessing the tutorial data are listed below for each existing pre-compiled version of MET.

NCAR RAL machines

Get the Data:

Refer to the Existing Builds page to find the location of the pre-compiled binaries on the NCAR RAL machines. Set up a working directory on your machine for the MET Tutorial. Retrieve the necessary data for the tutorial (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:

Add the full path of the MET installation bin directory to your PATH environment variable. For example, if the MET executables are located at /usr/local/met/bin, add /usr/local/met/bin to your PATH.

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".

NCAR machine cheyenne

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /glade/p/ral/jntp/MET/MET_Tutorial/8.0/MET_Tutorial/config .
  • cp -r /glade/p/ral/jntp/MET/MET_Tutorial/8.0/MET_Tutorial/output .
  • ln -sf /glade/p/ral/jntp/MET/MET_Tutorial/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /glade/p/ral/jntp/MET/MET_Tutorial/fonts/
  • setenv MET_BASE /glade/p/ral/jntp/MET/MET_releases/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".

NOAA machine theia

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

  • module load nco wgrib R ncview

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /contrib/met/tutorial_data/8.0/MET_Tutorial/config .
  • cp -r /contrib/met/tutorial_data/8.0/MET_Tutorial/output .
  • ln -sf /contrib/met/tutorial_data/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /contrib/met/tutorial_data/8.0/fonts/
  • setenv MET_BASE /contrib/met/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".

NOAA machine jet

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

  • module load netcdf ncview wgrib

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /lfs1/projects/dtc-hurr/MET/tutorial_data/8.0/MET_Tutorial/config .
  • cp -r /lfs1/projects/dtc-hurr/MET/tutorial_data/8.0/MET_Tutorial/output .
  • ln -sf /lfs1/projects/dtc-hurr/MET/tutorial_data/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /lfs1/projects/dtc-hurr/MET/tutorial_data/fonts/
  • setenv MET_BASE /lfs1/projects/dtc-hurr/MET/MET_releases/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".

NOAA machine Tide/Gyre (WCOSS - IBM)

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

  • module load grib_util/v1.0.3

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/config .
  • cp -r /global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/output .
  • ln -sf /global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /global/noscrub/Julie.Prestopnik/met/8.0/fonts/
  • setenv MET_BASE /global/noscrub/Julie.Prestopnik/met/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

Unfortunately, to our knowledge, R and ncview are not available on these WCOSS machines. If you would like to execute these portions of the tutorial you will need to install R and ncview.

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".

NOAA machine Luna/Surge (WCOSS - Cray)

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

  • module load grib_util/1.0.3 NetCDF-intel-sandybridge/4.2 netcdf

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /gpfs/hps3/emc/global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/config .
  • cp -r /gpfs/hps3/emc/global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/output .
  • ln -sf /gpfs/hps3/emc/global/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /gpfs/hps3/emc/global/noscrub/Julie.Prestopnik/met/8.0/fonts/
  • setenv MET_BASE /gpfs/hps3/emc/global/noscrub/Julie.Prestopnik/met/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

Unfortunately, to our knowledge, R and ncview are not available on these WCOSS machines. If you would like to execute these portions of the tutorial you will need to install R and ncview.

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".

NOAA machine Mars/Venus (WCOSS - Dell)

Follow the instructions on the Existing MET Builds page to get MET set up your environment. Then, continue with these instructions.

  • module load grib_util/1.0.6

Users can link to the existing tutorial data, but they should have their own area for their configuration files and output data. Create a working directory, filling in <working_dir_for_tutorial>, with the appropriate path to set up data and directories:

  • mkdir <working_dir_for_tutorial>/8.0/MET_Tutorial/
  • cd <working_dir_for_tutorial>/8.0/MET_Tutorial
  • cp -r /gpfs/dell2/emc/verification/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/config .
  • cp -r /gpfs/dell2/emc/verification/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/output .
  • ln -sf /gpfs/dell2/emc/verification/noscrub/Julie.Prestopnik/met_tutorial/8.0/MET_Tutorial/input

Set up environment variables:

  • setenv MET_FONT_DIR /gpfs/dell2/emc/verification/noscrub/Julie.Prestopnik/met/8.0/fonts/
  • setenv MET_BASE /gpfs/dell2/emc/verification/noscrub/Julie.Prestopnik/met/8.0/share/met/
  • setenv RSCRIPTS_BASE $MET_BASE/Rscripts/

Unfortunately, to our knowledge, R and ncview are not available on these WCOSS machines. If you would like to execute these portions of the tutorial you will need to install R and ncview.

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 set your working directory for the tutorial to /d1/met_user/met_tutorial/8.0/, you would run "setenv MET_TUTORIAL_DATA /d1/met_user/met_tutorial/8.0/MET_Tutorial".