Repository

Repository

First we will set up some directories and variables 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:
   # or your top-level experiment dir
mkdir -p /home/ec2-user
cd /home/ec2-user 
setenv PROJ_DIR `pwd`
setenv PROJ_VERSION 4.1.0
   # or your top-level experiment dir
mkdir -p /home/ec2-user 
cd /home/ec2-user 
export PROJ_DIR=`pwd`
export PROJ_VERSION="4.1.0"

Next, you should obtain the scripts and dockerfiles from the NWP container repository using Git.

Obtain 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

 

Obtain the code base by copying and pasting the entire following command:

curl -SL https://github.com/NCAR/container-dtc-nwp/archive/refs/tags/v${PROJ_VERSION}.tar.gz | tar zxC . && mv container-dtc-nwp-${PROJ_VERSION} container-dtc-nwp

The contents of container-dtc-nwp contain scripts and files to build the images/containers and run this tutorial.

jwolff Tue, 03/19/2019 - 09:56