Skip to content

Python interface for handling the SCHISM model.

License

Notifications You must be signed in to change notification settings

pvelissariou1/pyschism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySCHISM

coverage

A Python interface for SCHISM model runs.

Installation:

It is highly recommended that you run this software using a Python virtual environment, and that you use Python>=3.6 (preferrably, using the latest available Python version is encouraged). You may use conda or venv to satisfy this dependency.

To install, clone this repository, and navigate into it:

git clone https://github.com/schism-dev/pyschism
cd pyschism

Then make sure to activate the target Python environment (this step is not necessary if you chose not to use a virtual environment). After making sure your target environment is active, you can install the package using pip:

pip install .

if you are a developer, you may install in developer mode instead:

pip install -e .

Usage examples:

Using the CLI

Example 1: Full domain hgrid plot from the terminal.
plot_mesh /path/to/hgrid.gr3 --plot-boundaries --plot-elements

example_1_hgrid

Using the Library

Example 1: Full domain Hgrid plot:
from pyschism.mesh import Hgrid
hgrid = Hgrid.open('hgrid.gr3')
hgrid.make_plot(show=True)

About

Python interface for handling the SCHISM model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%