Code Monkey home page Code Monkey logo

wrf_docker's Introduction

Docker Container for WRF

John Exby and Kate Fossell provided a method to encapsulate the WRF modeling system with a container.

From their work, we have modified the Dockerfiles to work with new code, and a couple of separate use cases. The Dockerfiles include

  • Source code for WRF and WPS, from github
  • External libraries required to build WRF and WPS
  • Construct enough of an OS to have traditional user-level Linux capabilities
  • Ability to use the GNU compiler for compilation
  • OpenMPI is used for distributed memory processing
  • Post-processing is available, via PDF fields, from NCL
  • The static data for geogrid is available (low resolution only)
  • Two Dockerfiles to allow a tutorial walk-through, or regression testing
  • The tutorial case has namelists and Grib data to run end-to-end
  • The regression case has metgrid output and all of the NML files from the regression suite

There is a README for each of the two Dockerfiles: tutorial and regtest. Make sure that you copy the correct Dockerfile. Either:

ln -sf Dockerfile_tutorial Dockerfile

or

ln -sf Dockerfile_regtest Dockerfile

Tutorial

The README_tutorial.md has step-by-step instructions to run the entire WRF system, from geogrid through generating PDF files with model output. We go "into" the container for the tutorial case. This is a mechanical process of the required process to churn through the modeling system parts.

docker   build   -t   wrf_tutorial  .
mkdir OUTPUT
docker   run   -it   --name   teachme   -v   `pwd`/OUTPUT:/wrf/wrfoutput   wrf_tutorial   /bin/tcsh

Regtest

The purpose of the regression test is to allow a specifically built container to conduct a number of tests. We stay outside of the container for the regression test case. Because of the way that we started this container, we need to explicitly "stop" it after we are finished.

docker   build   -t   wrf_regtest  .
docker   run   -d -t   --name   test_001   wrf_regtest   /bin/tcsh
docker   exec  test_001   ./script.csh   BUILD   CLEAN   34   1   em_real -d
docker   exec  test_001   ./script.csh   RUN   em_real   34   em_real 03
docker   stop  test_001

For regression testing, the above two docker exec commands should each have a exit status of 0. Additionally, in the README_regtest.md file, there is explicit information for each test that may be conducted for the regression suite.

wrf_docker's People

Contributors

davegill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wrf_docker's Issues

Error: Unable to find a match: jasper jasper-devel ImageMagick

No match for argument: ImageMagick
Error: Unable to find a match: jasper jasper-devel ImageMagick
The command '/bin/sh -c yum -y install file gcc gcc-gfortran gcc-c++ glibc.i686 libgcc.i686 libpng-devel jasper jasper-devel hostname m4 make perl tar bash tcsh time wget which zlib zlib-devel openssh-clients openssh-server net-tools fontconfig libgfortran libXext libXrender ImageMagick sudo epel-release' returned a non-zero code: 1

Updates

Hello,

Any new releases planned for WRF updates?

yum didn't find match at step 7/55

yum was not able find match for couple of packages, such as, jasper, jasper-devel, scl and ImageMagick. The logs are as follows:

No match for argument: scl
No match for argument: jasper
No match for argument: jasper-devel
Package hostname-3.20-6.el8.x86_64 is already installed.
Package tar-2:1.30-4.el8.x86_64 is already installed.
Package bash-4.4.19-8.el8_0.x86_64 is already installed.
Package zlib-1.2.11-10.el8.x86_64 is already installed.
No match for argument: ImageMagick
Error: Unable to find a match

Fail download nclncarg

Hello,

I'm trying to install the WRF-DOCKER. I am having issues with the ncl download link. Is this link ok? or should I use a different one instead.

Regards,

Dayanna Arce from Costa Rica

executor failed running [/bin/sh -c curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local]: exit code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.