Skip to main content

API for the WRF-Hydro model

Project description

WRF-HYDRO-PY

Build Status Coverage Status PyPI GitHub release Documentation Status

IMPORTANT: This package is in the very early stages of development and the package API may change at any time. It is not recommended that this package be used for significant work until version 0.1

Description

wrfhydropy provides an end-to-end python interface to support reproducible research and construction of workflows involving the WRF-Hydro model. See the docs for an extended description of what-and-why wrfhydropy.

Documentation

Documentation is available on-line through help() and via readthedocs. Documentation is a work in progress, please feel free to help improve the documentation or to make an issue when the docs are inaccurate!

Contributing standards

Failure to adhere to contributing standards may result in your Pull Request being rejected.

pep8speaks

All pull requests will be linted automatically by pep8speaks and reported as a comment into the pull request. The pep8speaks configuration is specified in .pep8speaks.yml. All pull requests must satisfy pep8speaks.
Local linting can be performed after a pip install of pycodestyle. Pep8speaks linting reports also update with updated pull requests.

Additional Style Guidelines

Testing

All pull requests must pass automated testing (via TravisCI). Testing can be performed locally by running pytest in the wrfhydropy/tests directory. Currently, this testing relies on the nccp binary for comparing netcdf files. A docker container can be supplied for testing on request (and documentation will subsequently be placed here).

Coverage

Testing concludes by submitting a request to coveralls. This will automatically report changes of code coverage by the testing. Coverage should be maximized with every pull request. That is all new functions or classes must be accompanied by comprehensive additional unit/integration tests in the wrf_hydro_py/wrfhydropy/tests directory. Running coverage locally can be achieved by pip installing coverage and pytest-cov following a process similar to the following:

cd wrfhydropy/tests/
pytest --cov=wrfhydropy 
coverage html -d coverage_html
chrome coverage_html/index.html  # or your browser of choice

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wrfhydropy-0.0.21-py3-none-any.whl (109.0 kB view details)

Uploaded Python 3

File details

Details for the file wrfhydropy-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: wrfhydropy-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 109.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for wrfhydropy-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 81b385d26c361f035fb176d627f629d581a58af357986582e187b94ee8c7521d
MD5 05c07a4d86c128deebc38e933d436fa5
BLAKE2b-256 79d23fb469c9279e506101d522c5f8d08d4d2bcbd4fab059778bbd771d4deaa2

See more details on using hashes here.

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