PyMT plugin for pymt_roms
Project description
pymt_roms is a package that converts bmi_roms package into a reusable, plug-and-play data component for PyMT modeling framework developed by Community Surface Dynamics Modeling System (CSDMS). This allows ROMS model datasets to be easily coupled with other datasets or models that expose a Basic Model Interface.
The current implementation supports 2D, 3D and 4D ROMS output datasets defined with geospatial and/or time dimensions (e.g., dataset defined with dimensions as [time, s_rho, eta_rho, xi_rho])
Component |
PyMT |
---|---|
Roms |
from pymt.models import Roms |
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 environment is activated, pymt can be installed with the following command. Please note that the pymt_roms requires the development version of pymt (e.g., v1.3.2dev0).
pip install git+https://github.com/csdms/pymt.git
Installing pymt_roms
To install pymt_roms, use pip
pip install pymt_roms
or conda
conda install -c conda-forge pymt_roms
Coding Example
You can learn more details about the coding example from the tutorial notebook.
Credits
Tian Gan <gantian127@gmail.com>
Changelog for pymt_roms
0.2.0 (unreleased)
0.1.0 (2023-04-04)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.