OWSLib-esgfwps

Documentation Status Travis Build GitHub license Join the chat at https://gitter.im/bird-house/birdhouse

The OWSLib-esgfwps package is an OWSLib extension for the ESGF compute WPS profile.

You can try the OWSLib-esgfwps extension online using Binder, just click on the binder link below.

Binder Launcher

Or view the examples online on NBViewer.

NBViewer

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Installation

From sources

Check out code from the birdhouse GitHub repo and start the installation:

$ git clone https://github.com/bird-house/OWSLib-esgfwps.git
$ cd OWSLib-esgfwps
$ conda env create -f environment.yml
$ python setup.py install

Usage

Top-level package for Emu.

Examples

Try the Jupyter notebooks in the examples/notebooks folder and check the README to update your conda environment.

View the latest version of the notebooks online.

Development

Get Started!

Check out code from the OWSLib-esgfwps GitHub repo and start the installation:

$ git clone https://github.com/bird-house/OWSLib-esgfwps.git
$ cd OWSLib-esgfwps
$ conda env create -f environment.yml
$ python setup.py develop

Install additional dependencies:

$ pip install -r requirements_dev.txt

When you’re done making changes, check that your changes pass flake8 and the tests:

 $ flake8
 $ pytest

Or use the Makefile::

  $ make lint
  $ make test
  $ make test-all

Write Documentation

You can find the documentation in the docs/source folder. To generate the Sphinx documentation locally you can use the Makefile:

$ make docs

Bump a new version

Make a new version of OWSLib-esgfwps in the following steps:

  • Make sure everything is commit to GitHub.

  • Update CHANGES.rst with the next version.

  • Dry Run: bumpversion --dry-run --verbose --new-version 0.3.1 patch

  • Do it: bumpversion --new-version 0.3.1 patch

  • … or: bumpversion --new-version 0.4.0 minor

  • Push it: git push --tags

See the bumpversion documentation for details.

Changes

0.2.1 (2019-07-09)

  • Fixed Pelican WPS test (#15).

  • Using __version__.py (#14).

0.2.0 (2019-07-08)

  • Updated to latest ESGF CWT API (version 2019-07-04).

  • Updated docs and notebook examples.

0.1.0 (2019-02-15)

  • First release.