This repository provides a Dockerfile for building WRF (Weather Research and Forecasting) and WPS (WRF Preprocessing System) on an Ubuntu base. The Docker container is created using Podman and can be converted into a Singularity image by saving it as a tar using Podman.
Before proceeding, ensure that you have the following installed:
To build the Docker container, use the following command:
podman build -t wps .
After successfully building the container, you can convert it into a Singularity image by saving it as a tar file:
podman save wps -o image.tar
Once you have the tar file, you can build a Singularity image using the following command:
singularity build --fakeroot IMG.sif docker-archive://image.tar
To use the generated Singularity image, execute the following command:
singularity run IMG.sif
We would like to acknowledge the developers of WRF and WPS for their invaluable contributions.