Thanks for considering making a contribution to pyRTE-RRTMGP!
Please file a bug report on the GitHub page. If possible, your issue should include a minimal, complete, and verifiable example of the bug.
Please file a feature request on the GitHub page.
Please follow the instructions for installing pyRTE-RRTMTP with pip in the documentation.
The documentation uses Sphinx and is located in the docs directory.
To build the documentation locally, first install the required documentation dependencies (optimally in a dedicated virtual environment):
pip install -r docs/requirements-doc.txtThen, build the documentation:
cd docs
make htmlThe built documentation will be located in docs/build/html.
pyRTE-RRTMTP uses pytest for testing. To run the tests, first install the required testing dependencies (optimally in a dedicated virtual environment):
pip install -r tests/requirements-test.txtThen, run the tests:
pytest testsPlease fork this repository, branch from main, make your changes, and open a
GitHub pull request
against the main branch.
Please fork this repository, branch from main, make your changes, and open a
GitHub pull request
against the main branch.
Pull Requests for new features should include tests and documentation.
For maintainers:
- To make a new release, update the version number in
pyproject.tomlandconda.recipe/meta.yaml. Also updateCITATION.cffas necessary. - Then, create a new release off the
mainbranch on GitHub, using the "Draft a new release" button in https://github.com/earth-system-radiation/pyRTE-RRTMGP/releases. - Create a new tag with the version number, and use the "Generate release notes" button to create the release notes.
- Review and update the the release notes as necessary, and publish the release and set it as the latest release.
The documentation on https://pyrte-rrtmgp.readthedocs.io/ will update automatically.