Tutorial - Version 3 | Repository

First we will set up some directories that we will use to run this tutorial. Navigate to the top-level experiment directory (where you will run the experiments in this tutorial) and set the environment variable PROJ_DIR as this base directory. This directory must be in a location that has at least 25 Gb of storage space available in order for the tutorial to work. Your commands will be different depending on the shell you are using, for example:

For tcsh: For bash or ksh:
mkdir -p /home/ec2-user (or the path to your top-level experiment dir)
cd /home/ec2-user 
setenv PROJ_DIR `pwd`
mkdir -p /home/ec2-user (or the path to your top-level experiment dir)
cd /home/ec2-user 
export PROJ_DIR=`pwd`

Next, you should obtain the scripts and dockerfiles from the NWP container repository in one of two ways:

  1. Clone the project using Git
  2. Download the released project tar file from Github

Please follow the appropriate section below that fits your needs.

Option 1: Clone the end-to-end container project from Github

The end-to-end NWP container project repository can be found at:

https://github.com/NCAR/container-dtc-nwp

 Clone the repository using the following commands:

git clone https://github.com/NCAR/container-dtc-nwp ${PROJ_DIR}/container-dtc-nwp
cd container-dtc-nwp

Several README files are available and contain instructions on building images and running containers; these same instructions can be found later in this tutorial.

Option 2: Alternative method to access end-to-end container project

If git is not available on your system (or you do not wish to use it), download the latest tagged release of the end-to-end NWP container project (container-dtc-nwp). Download the NWP container project tar file, unpack it, and rename the top-level directory for consistency with future commands:

wget https://github.com/NCAR/container-dtc-nwp/archive/v3.2.tar.gz
tar zxvf v3.2.tar.gz
mv container-dtc-nwp-3.2 container-dtc-nwp

[ An example of all the steps up to this point export PROJ_DIR=/Volumes/AMS_short_course ; mkdir -p ${PROJ_DIR} ; cd ${PROJ_DIR} ; wget https://github.com/NCAR/container-dtc-nwp/archive/v3.2.tar.gz ; tar zxvf v3.2.tar.gz ; mv container-dtc-nwp-3.2 container-dtc-nwp ]

Download Alternative:
If wget is not available on your system, an alternative is curl:
     curl -L -O https://github.com/NCAR/container-dtc-nwp/archive/v3.2.tar.gz

Several README files are available and contain instructions on building images and running containers; these same instructions can be found later in this tutorial.