wrfcube: load WRF model output into consistent iris cubes and calculate important variable

wrfcube is a python package to allow for a convenient loading of WRF model output into iris cubes which includes a lot of functionality to compute important variables like air temperature and air pressure that have to be constructed from the output in the wrfout files. Additionally the package contains many functions to caclulate other quantities such as liquid and ice water path, total surface precipitation and many more.

Installation

Required packages: iris xarray numpy cf_units

If you are using anaconda, the following command should make sure all dependencies are met and up to date:

$ conda install -c conda-forge iris xarray cf_units

You can directly install the package directly from github with pip and either of the two following commands:

$ pip install –upgrade git+ssh://git@github.com/mheikenfeld/wrfcube.git $ pip install –upgrade git+https://github.com/mheikenfeld/wrfcube.git

You can also clone the package with any of the two following commands

$ git clone git@github.com:mheikenfeld/wrfcube.git $ git clone https://github.com/mheikenfeld/wrfcube.git

and install the package from the locally cloned version:

$pip install –upgrade wrfcube/

(the trailing “/” actually matters here..)