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 pymt_roms requires pymt version 1.3.2 or higher.
# install pymt stable release and dependency packages
$ conda install pymt
# update to pymt dev version
$ pip install git+http://github.com/csdms/pymt
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.1.1 (2024-10-31)
Update for pymt 1.3.2
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.
Source Distribution
File details
Details for the file pymt_roms-0.1.1.tar.gz
.
File metadata
- Download URL: pymt_roms-0.1.1.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1130c5156af9a45b466472105dd6700dafb6487915e419269fbf507870cbff |
|
MD5 | 6ad5ed9c4bd385f599f6bac7a2331a65 |
|
BLAKE2b-256 | 7587258eb1d28eb3a04325ef094f876e45d1543608d4eb4e2a65e6373f3a1cf8 |