The wps_wrf software container consists of two components:
- WRF Preprocessing System (WPS)
- Advanced Weather Research and Forecasting (WRF-ARW) model
There are three options for establishing the image from which the software container will be instantiated. Please follow the appropriate section below that fits your needs.
Option 1: Pull the dtcenter/wps_wrf image from Docker Hub
If you do not want to build the image from scratch, simply use the prebuilt image by pulling it from Docker Hub.
docker pull dtcenter/wps_wrf:${PROJ_VERSION}
To see what images you have available on your system, type:
Option 2: Build the dtcenter/wps_wrf image from scratch
To access the preprocessing (WPS) and model (WRF) code from the Git repository and build the image from scratch, first go to your project space where you cloned the repository:
and then build an image called dtcenter/wps_wrf:
This command goes into the wps_wrf directory and reads the Dockerfile directives. Please review the contents of the wps_wrf/Dockerfile for additional information.
To see what images you have available on your system, type:
Option 3: Pull the dtcenter/wps_wrf Docker Hub image and convert it to a Singularity image
If you are using Singularity rather than Docker, the commands are similar:
singularity pull docker://dtcenter/wps_wrf:${PROJ_VERSION}_for_singularity
Unlike Docker, Singularity does not keep track of available images in a global environment; images are stored in image files with the .sif extension. Use the `ls` command to see the image file you just downloaded