API for the WRF-Hydro model
Project description
WRF-HYDRO-PY
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
- Max line length: 100 chars.
- docstrings: Google style
- All other guidance follows Google style guide
- General advice: Hitchhiker's guide to code style
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
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
Built Distribution
File details
Details for the file wrfhydropy-0.0.20.tar.gz
.
File metadata
- Download URL: wrfhydropy-0.0.20.tar.gz
- Upload date:
- Size: 94.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c253f64f35c108e165bdbc504dbf2bac57420d8ab24fe8d897287fa78c3cf4 |
|
MD5 | fcece4815f9fc975c46cf6293a49e554 |
|
BLAKE2b-256 | dbaec0b9432acc185e286ad096cc43a76cdfe244b3e9efe4b2627cc63c38b953 |
File details
Details for the file wrfhydropy-0.0.20-py3-none-any.whl
.
File metadata
- Download URL: wrfhydropy-0.0.20-py3-none-any.whl
- Upload date:
- Size: 109.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c967dc326b6a9af412f3f5b0fa98ad5629fab3446f01df8dfa543accbce0bed5 |
|
MD5 | 1dbfb5004e960783f50a32a5a1d564d3 |
|
BLAKE2b-256 | caa08f4d8d9c40d328875156a4eb8516bc6ad83bb2023ad6f72fb8bb7b9e699f |