Skip to content

gantian127/pymt_era5

Repository files navigation

pymt_era5

image

Basic Model Interface

Documentation Status

image

pymt_era5 is a package that converts bmi_era5 package into a reusable, plug-and-play data component for PyMT modeling framework developed by Community Surface Dynamics Modeling System (CSDMS). This allows ERA5 datasets (currently support 3 dimensional data) to be easily coupled with other datasets or models that expose a Basic Model Interface.

Installing pymt

Installing pymt from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Note: Before installing pymt, you may want to create a separate environment into which to install it. This can be done with,

conda create -n pymt python=3
conda activate pymt

Once the conda-forge channel has been enabled, pymt can be installed with:

conda install pymt

It is possible to list all of the versions of pymt available on your platform with:

conda search pymt --channel conda-forge

Installing pymt_era5

Please make sure to first install the CDS API and then install pymt_era5 using pip

pip install pymt_era5

or conda

conda install -c conda-forge pymt_era5

Coding Example

You can learn more details about the coding example from the tutorial notebook.