With this post, we announce the release of wradlib 0.9.0. It finalizes our transition from example Python scripts to jupyter notebooks (as already announced in a previous post). As a result, the documentation pages have become more consistent, and the handling of examples and tutorials more convenient and interactive. We hope you’ll agree!
Interactive examples with jupyter notebooks
As a consequence, the previous doc sections “Tutorials” and “Recipes” have been replaced by one single section Tutorials and Examples. The pages in that section were automatically built from jupyter (IPython) notebooks. These notebooks are distributed with the new release, and you can use them to interactively browse through our tutorials and examples. You can always download the latest notebooks from the wradlib repository.
For those who do not know, yet, how to handle jupyter notebooks, we prepared a quick tutorial. We also added a brief (and certainly incomplete) intro to Python for those who would like to have some entry point to that language. This intro will certainly be further developed in the future.
In case you don’t want to use notebooks: straight Python scripts are distributed alongside the notebooks with each new release >= 0.9.0.
Get the example data from the new wradlib data repository
We moved all the example data from the main wradlib repository to a new data repository. In order to run the notebooks on your computer, you need to download the example data archive yourself, and extract it to any directory on your computer. Then you need to create an environment variable pointing to that directory. After that, the example notebooks will automagically pull the required example data from that directory. See here for more detailed guidance on the process.
Further changes in wradlib 0.9.0
Along with wradlib 0.9.0, we also released a couple of minor, though hopefully useful new features and fixes, e.g.:
wradlib.io.read_RADOLAN_compositecan now read the new radolan FZ product,
wradlib.io.readDXcan now read gzipped DX data,
wradlib.io.read_Rainbowwas enhanced to read product pixmap data from rainbow5 files,
- fixed incompatibility issue with scipy 0.18.0,
- and fixed some other issues.
For more details on the new release, please visit our release notes.
Updating to wradlib 0.9.0
Do you want to safely check out the new version and still keep the old one? Then you can install wraldib 0.9.0 into a new conda environment, e.g. like this:
$ conda config --add channels conda-forge $ conda create --name wradlib090 python=2.7 $ activate wradlib090 $ conda install wradlib
You can drop the first line if you already added the conda-forge channel.
For more details, or if you do not use Anaconda or conda, see our installation instructions.
In case you lost track of your Anaconda environments, you can use
$ conda --info envs
in order to get an overview. You can list all the packages (and their versions) in an environment (let’s say wradlib090) via
$ conda list --name wradlib090
Untagged MICRO-releases (0.9.1 and so on) are now released on testpypi. In the future, we hope to adopt this for conda-forge, too. This might be interesting for users, too, for early checking of bug fixes (in case they do not want to use the bleeding edge code).