Skip to main content

A python package for model visualization.

Project description

ModVis

image

image

A python package for model visualization.

Features

  • Visualize model outputs from hydrologic models including ATS, PFLOTRAN, and etc.
  • Plot unstructured meshes with variables such as groundwater table, saturation, and evapotranspiration.
  • Evaluate model performance using different metrics.

Installation

ModVis is available on PyPI. To install, run the following command:

pip install modvis

Quick start

To plot variables on the surface mesh:

import modvis.plot_vis_file as pv

# import visdump file
visfile = xdmf.VisFile(model_dir='.', domain='surface', load_mesh=True)

# plot surface ponded depth
pv.plot_surface_data(visfile, var_name="surface-ponded_depth", log=True,
                              time_slice="2019-05-01", vmin=0.01, vmax=4)

Examples

Jupyter notebook examples can be found under examples/notebooks

Credits

This work is supported by LDRD funding from PNNL.

This package was created with Cookiecutter and the giswqs/pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modvis-0.0.2.tar.gz (41.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page