Skip to content

Latest commit

 

History

History
92 lines (69 loc) · 2.31 KB

File metadata and controls

92 lines (69 loc) · 2.31 KB

WRF-HYDRO

Containers used for WRF-Hydro development. These containers are also suitable options for running WRF-Hydro simulations on a single-node system. See sub-tags (e.g. 'base', 'conda') for details on each container.


base

Overview

This container is used for WRF-Hydro development and single-node WRF-Hydro simulations.

This container includes the following:

  • Ubuntu base image
  • All system libraries required by WRF-Hydro
  • Text editors - VIM, Nano, Emacs
  • git version control system
  • nccmp - NetCDF Compare utility for diffing NetCDF files
  • NetCDF C and Fortran libraries
  • MPI

Usage

Step 1: Pull the image

docker pull wrfhydro/dev:base

Step 2: Run the image

docker run -it wrfhydro/dev:base

Optionally: Run the image with a volume mount

NOTE: DO NOT COMPILE WRFHYDRO IN THE MOUNTED FOLDER. On some filesystems, WRF-Hydro will not compile correctly if compilation occurs in a mounted directory. WRF-Hydro will run in a mounted directory on most filesystems, but compilation may fail.

docker run -v <path-to-your-local-mount-folder>:<path-to-the-desired-docker-folder> -it wrfhydro/dev:base

conda

Overview

This container is used for WRF-Hydro development and single-node WRF-Hydro simulations.

This container includes the following:

  • Everything in wrfhydro/dev

  • Miniconda with the following libraries and all dependencies

    • jupyterlab
    • jupyter_contrib_nbextensions
    • boltons
    • cartopy
    • deepdiff
    • f90nml
    • netcdf4
    • pytest
    • pytest-datadir
    • rasterio
    • termcolor
    • wrfhydropy
    • xarray

Usage

Step 1: Pull the image

docker pull wrfhydro/dev:conda

Step 2: Run the image

docker run -it wrfhydro/dev:conda

Optionally: Run the image with a volume mount

NOTE: DO NOT COMPILE WRFHYDRO IN THE MOUNTED FOLDER. On some filesystems, WRF-Hydro will not compile correctly if compilation occurs in a mounted directory. WRF-Hydro will run in a mounted directory on most filesystems, but compilation may fail.

docker run -v <path-to-your-local-mount-folder>:<path-to-the-desired-docker-folder> -it
wrfhydro/dev:conda