Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit 9ec8148

Browse files
committed
MNT: update docs for release 1.19 (#21)
1 parent f5827c0 commit 9ec8148

File tree

8 files changed

+69
-31
lines changed

8 files changed

+69
-31
lines changed

source/community.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Users
66

77
:math:`\omega radlib` is intended to be a community effort, and community needs communication.
88

9-
The key communication platform for :math:`\omega radlib` is the `wradlib-users <https://groups.google.com/forum/?fromgroups=#!forum/wradlib-users>`_ mailing list and forum. Through this forum, you can help to improve :math:`\omega radlib` by reporting bugs, proposing enhancements, or by contributing code snippets (in any programming language) and documentation of algorithms.
9+
The key communication platform for :math:`\omega radlib` is beside the `wradlib GitHub repo <https://github.com/wradlib/wradlib>`_ the `openradar-discourse <https://openradar.discourse.group/>`_ discussion forum. Through both ways, you can help to improve :math:`\omega radlib` by reporting bugs, proposing enhancements, or by contributing code snippets (in any programming language) and documentation of algorithms.
1010

11-
You can also ask other users and developers for help, or use your own knowledge and experience to help other users. We strongly encourage you to `subscribe <https://groups.google.com/forum/#!forum/wradlib-users/join>`_ to this list. Check it out!
11+
You can also ask other users and developers for help, or use your own knowledge and experience to help other users. We strongly encourage you to subscribe to `openradar-discourse <https://openradar.discourse.group/>`_. Check it out!
1212

1313
How to contribute to :math:`\omega radlib`?
1414
-------------------------------------------

source/conf.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
]
4242

4343
extlinks = {
44-
"issue": ("https://github.com/wradlib/wradlib/issues/%s", "GH"),
45-
"pull": ("https://github.com/wradlib/wradlib/pull/%s", "PR"),
44+
"issue": ("https://github.com/wradlib/wradlib/issues/%s", "GH%s"),
45+
"pull": ("https://github.com/wradlib/wradlib/pull/%s", "PR%s"),
4646
}
4747

4848
mathjax_path = ("https://cdn.mathjax.org/mathjax/latest/MathJax.js?"
@@ -113,7 +113,7 @@
113113
shell=True)
114114

115115
# install wradlib target branch/tag
116-
subprocess.check_call(['pip', 'install', '--no-deps', '--upgrade',
116+
subprocess.check_call(['python', '-m', 'pip', 'install', '--no-deps', '--upgrade',
117117
"git+{0}/wradlib.git@{1}"
118118
"".format(url, wradlib_branch_or_tag)])
119119

@@ -260,14 +260,14 @@ def __getattr__(cls, name):
260260
html_show_copyright = True
261261

262262
intersphinx_mapping = {
263-
'python': ('https://docs.python.org/3/', None),
264-
'numpy': ('https://numpy.org/doc/stable/', None),
265-
'scipy': ('https://docs.scipy.org/doc/scipy/objects.inv', None),
266-
'matplotlib': ('https://matplotlib.org/stable/', None),
267-
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
268-
'xarray': ('https://docs.xarray.dev/en/stable/objects.inv', None),
269-
'cartopy': ('https://scitools.org.uk/cartopy/docs/latest/', None),
270-
'gdal': ('https://gdal.org/python/', "objects_gdal.inv")
263+
'python': ('https://docs.python.org/3', None),
264+
'numpy': ('https://numpy.org/doc/stable', None),
265+
'scipy': ('https://docs.scipy.org/doc/scipy', None),
266+
'matplotlib': ('https://matplotlib.org/stable', None),
267+
'sphinx': ('https://www.sphinx-doc.org/en/master', None),
268+
'xarray': ('https://docs.xarray.dev/en/stable', None),
269+
'cartopy': ('https://scitools.org.uk/cartopy/docs/latest', None),
270+
'gdal': ('https://gdal.org/python', "objects_gdal.inv")
271271
}
272272

273273
# -- Napoleon settings for docstring processing -------------------------------

source/dev_guide.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Developer Guide
33

44
Setup
55
-----
6-
The section :doc:`installation` will provide you with detailed guidance on how to install :math:`\omega radlib` and the required dependencies for different operating systems (MS Windows, Linux, Mac OS). :math:`\omega radlib` |release| has been tested with the latest Anaconda Python on linux-64. It is available via `conda-forge` channel on linux-64, osx-64 and MS Windows 64 versions.
6+
The section :doc:`installation` will provide you with detailed guidance on how to install :math:`\omega radlib` and the required dependencies for different operating systems (MS Windows, Linux, Mac OS). :math:`\omega radlib` |release| has been tested with the latest conda-forge Python on linux-64. It is available via `conda-forge` channel on linux-64, osx-64 and MS Windows 64 versions.
77

88
As a developer, though, you should rather link into :math:`\omega radlib`'s version control. This way, it will be easier for you to track changes and to contribute your changes to :math:`\omega radlib`'s main respository (see next section). Just install `Git <https://git-scm.com/>`_, then clone the :math:`\omega radlib` repository to your local system by executing the following command in your shell: ``git clone https://github.com/wradlib/wradlib.git``. Do not forget to set the ``PYTHONPATH`` to point to the corresponding directory.
99

@@ -38,4 +38,6 @@ Testing
3838

3939
Continuous Integration
4040
----------------------
41-
We use Github Actions for Continuous Integration (CI). CI means, in our case, that each commit pushed to :math:`\omega radlib`'s main repository will trigger different test suites on the CI service. If all tests pass successfully, a new documentation will be built on https://readthedocs.org and published on https://docs.wradlib.org. In case a new release tag is associated with a commit, a new release will be distributed via `PyPI <https://pypi.org/project/wradlib/>`_.
41+
We use Github Actions for Continuous Integration (CI). CI means, in our case, that each commit pushed to :math:`\omega radlib`'s main repository as well as within each Pull request will trigger different test suites on the CI service. If all tests pass successfully, a new documentation will be built on https://readthedocs.org and published on https://docs.wradlib.org. In case a new release tag is associated with a commit, a new release will be distributed via `PyPI <https://pypi.org/project/wradlib/>`_.
42+
43+

source/ide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Some suitable IDEs
1212

1313
There is a `comprehensive Wiki article on Python IDEs <https://wiki.python.org/moin/IntegratedDevelopmentEnvironments>`_. Maybe a bit too comprehensive... if you already are used to an IDE and happy with it, there is no reason to change it.
1414

15-
However, if you have no idea which IDE to choose, why not start with `Spyder <https://www.spyder-ide.org/>`_? It is included in the `Anaconda Python Distribution <https://www.anaconda.com/products/individual>`_ by default. If you installed Anaconda, just open a shell (Anaconda Prompt on Windows) and enter::
15+
However, if you have no idea which IDE to choose, why not start with `Spyder <https://www.spyder-ide.org/>`_? It is included in the `Anaconda Python Distribution <https://www.anaconda.com/products/individual>`_ by default. Or just install it in any conda-environment. Then all you have to do is open a shell and enter::
1616

1717
$ spyder
1818

source/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ wradlib: An Open Source Library for Weather Radar Data Processing
1111
:notebooks: |notebooks-link|
1212
:docs: |docs-link|
1313

14+
.. note::
15+
16+
:math:`\omega radlib` version line 1.19 is the last version before :math:`\omega radlib` v2.0. Please pay attention to deprecations and update your code accordingly.
17+
18+
1419
The :math:`\omega radlib` project has been initiated in order facilitate the use of weather radar data as well as to provide a common platform for research on new algorithms. :math:`\omega radlib` is an open source library which is well documented and easy to use. It is written in the free programming language `Python <https://www.python.org>`_. As of version 1.3 :math:`\omega radlib` is Python 3 only.
1520

1621
.. note::
@@ -36,7 +41,6 @@ Documentation
3641

3742
* :doc:`installation`
3843
* :doc:`docker`
39-
* :doc:`ide`
4044

4145
.. toctree::
4246
:maxdepth: 1

source/installation.rst

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Anaconda/Conda
88

99
In order to run :math:`\omega radlib`, you need to have a Python interpreter installed on your local computer, as well as a number of Python packages (`Dependencies`_). We recommend installing `Anaconda <https://www.anaconda.com/products/individual>`_ as it includes Python, numerous required packages, and other useful tools (e.g. `Spyder <https://www.spyder-ide.org/>`_).
1010

11-
Using Anaconda the installation process is harmonised across platforms. Download and install the latest `Anaconda distribution <https://www.anaconda.com/products/individual>`_ for your specific OS. We recommend using the minimal `Miniconda <https://conda.io/miniconda.html>`_ if you do not want to install a full scientific python stack.
11+
Using Anaconda the installation process is harmonised across platforms. Download and install the latest `Anaconda distribution <https://www.anaconda.com/products/individual>`_ for your specific OS. We recommend using the minimal `Miniforge or Mambaforge <https://github.com/conda-forge/miniforge>`_ if you do not want to install a full scientific python stack (see `Mambaforge`_).
1212

13-
We are constantly performing tests with these distributions (for the most recent 3 python versions).
13+
We are constantly performing tests with `conda-forge <https://conda-forge.org/>`_ community channel (for the most recent 3 python versions).
1414

1515
If your Anaconda Python installation is working, the following command (in a console) should work::
1616

@@ -29,7 +29,7 @@ Now you can use the ``conda`` package and environment manager (`conda documentat
2929

3030
#. Create a new environment from scratch::
3131

32-
$ conda create --name wradlib python=3.8
32+
$ conda create --name wradlib python=3.11
3333

3434
#. Activate the :math:`\omega radlib` environment::
3535

@@ -41,18 +41,25 @@ Now you can use the ``conda`` package and environment manager (`conda documentat
4141

4242
Now you have a ``conda`` environment with a working :math:`\omega radlib` installation.
4343

44+
Mambaforge
45+
----------
46+
47+
This is our recommended method. The install procedure is essentially the same as with Anaconda/Miniconda but it will utilize the fast drop-in replacement `mamba <https://mamba.readthedocs.io/>`_. Please refer to their documentation.
48+
49+
Testdrive
50+
---------
51+
4452
Test the integrity of your :math:`\omega radlib` installation by opening a console window and typing calling the python interpreter::
4553

4654
$ python
47-
Python 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:25:08)
48-
[GCC 7.5.0] on linux
55+
Python 3.11.0 | packaged by conda-forge | (main, Jan 14 2023, 12:27:40) [GCC 11.3.0] on linux
4956
Type "help", "copyright", "credits" or "license" for more information.
5057

5158
The Python prompt should appear. Then type::
5259

5360
>>> import wradlib
5461
>>> wradlib.__version__
55-
'1.8.0'
62+
'1.19.0'
5663

5764
If everything is ok, this will show the running :math:`\omega radlib` version. If the :math:`\omega radlib` package is not found by the interpreter, you will get::
5865

@@ -116,6 +123,8 @@ Dependencies
116123
+------------+-----------+-------------+
117124
| xarray | >= 0.17 | >= 0.20.2 |
118125
+------------+-----------+-------------+
126+
| xradar | >=0.0.13 | >= 0.0.13 |
127+
+------------+-----------+-------------+
119128

120129
You can check whether the required `Dependencies`_ are available on your computer by opening a Python console and enter:
121130

@@ -144,6 +153,8 @@ As for now, the following dependencies are defined as optional:
144153
+------------+-----------+-------------+
145154
| Package | min | recommended |
146155
+============+===========+=============+
156+
| cartopy | >= 0.21 | >= latest |
157+
+------------+-----------+-------------+
147158
| dask | >= 2.20 | >= latest |
148159
+------------+-----------+-------------+
149160
| gdal | >= 2.4 | >= 3.1.0 |
@@ -159,13 +170,12 @@ As for now, the following dependencies are defined as optional:
159170
| xmltodict | >= 0.11 | >= 0.12.0 |
160171
+------------+-----------+-------------+
161172

162-
163173
The following libraries are used by `netCDF4`, `h5py`/`h5netcdf` and `gdal` packages and should apply to these requirements:
164174

165-
.. tabularcolumns:: |L|L|L|L
175+
.. tabularcolumns:: |L|L|L|L|
166176

167177
+------------+-----------+-------------+---------+
168-
| Library | min | recommended | used by |
178+
| Library | min | recommended | used by |
169179
+============+===========+=============+=========+
170180
| geos | >= 3.7.0 | >= 3.10.0 | gdal |
171181
+------------+-----------+-------------+---------+
@@ -195,6 +205,6 @@ Depending on your OS and installation method you may encounter different problem
195205

196206
We strongly recommend using the Anaconda conda package and environment manager (see `Installation`_). Using `conda-forge <https://conda-forge.org/>`_ we will maintain the `wradlib-feedstock <https://github.com/conda-forge/wradlib-feedstock/>`_ for constant availability of recent :math:`\omega radlib` versions.
197207

198-
If you can't use Anaconda/Miniconda, it is generally a good idea to use your systems package manager to install dependencies. This will also take account for other needed bindings, libs etc.
208+
If you can't use Anaconda/Miniconda/Mambforge, it is generally a good idea to use your systems package manager to install dependencies. This will also take account for other needed bindings, libs etc.
199209

200-
If you encounter problems installing :math:`\omega radlib`, check on your favorite search engine or create an issue `here <https://github.com/wradlib/wradlib/issues>`_ with details on the problem or send an email on the `wradlib-users <https://groups.google.com/forum/?fromgroups=#!forum/wradlib-users>`_ mailing list.
210+
If you encounter problems installing :math:`\omega radlib`, check on your favorite search engine or create an issue `at the wradlib issue tracker <https://github.com/wradlib/wradlib/issues>`_ with details on the problem or check with the `openradar-discourse <https://openradar.discourse.group/>`_.

source/jupyter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Interactive examples with jupyter notebooks
1212

1313
All :math:`\omega radlib` examples are distributed as `jupyter notebooks <https://jupyter.org/>`_ in the `wradlib-notebooks <https://github.com/wradlib/wradlib-notebooks/>`_ repository. This way, you can interactively explore various topics. Each notebook is organized in documented code blocks. You can browse through a notebook block by block, inspect the results, and experiment with the code. However, you can also view the rendered notebooks including the example results on the web pages of this section: Each page was directly generated from :math:`\omega radlib`'s example notebooks. This way, you can copy&paste code snippets directly into your applications.
1414

15-
.. note:: Are you using :math:`\omega radlib` on the `Open Virtual Machine for Cross-Platform Weather Radar Science <https://openradarscience.org/>`_? Then skip the rest: just log in, run the command ``$ ./start_notebook.sh`` and direct your browser to `http://127.0.0.1:8888/tree <http://127.0.0.1:8888/tree>`__. That's it.
15+
.. note:: Are you using :math:`\omega radlib` with the `Open Radar Science Shortcourse <https://openradarscience.org/erad2022/>`_? Then please follow-up there to get your openradar software stack running.
1616

1717
Otherwise, you need to make sure to
1818

source/release_notes.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,31 @@
33
Release Notes
44
=============
55

6-
Please note that :math:`\omega radlib` releases follow `semantic versioning <https://semver.org/>`_. API breaks will be announced via deprecation warnings. All :math:`\omega radlib` releases come without any warranty. Release notes might be incomplete. See `here <https://github.com/wradlib/wradlib/commits/main>`_ for a complete record of changes.
6+
Please note that :math:`\omega radlib` releases follow `semantic versioning <https://semver.org/>`_. API breaks will be announced via deprecation warnings. All :math:`\omega radlib` releases come without any warranty. Release notes might be incomplete. See `the commits <https://github.com/wradlib/wradlib/commits/main>`_ for a complete record of changes.
77

8-
You can install the latest :math:`\omega radlib` release from PyPI via ``$ pip install wradlib`` or specific version via ``$ pip install wradlib==x.y.z``. The recommended installation process is described in :doc:`installation`.
8+
You can install the latest :math:`\omega radlib` release from PyPI via ``$ python -m pip install wradlib`` or specific version via ``$ python -m pip install wradlib==x.y.z``. The recommended installation process is described in :doc:`installation`.
9+
10+
Version 1.19.0
11+
--------------
12+
13+
This version is most likely the last version before wradlib 2.0. We've switched to use `xradar <https://docs.openradarscience.org/projects/xradar>`_ for reading radar data in polar coordinates. The relevant code has been ported from wradlib to xradar and only a shallow compatibility layer is kept in wradlib.
14+
15+
**New features**
16+
17+
* Enhance Furuno Reader to read WR110 data (:pull:`606`) by `@kmuehlbauer <https://github.com/kmuehlbauer>`_
18+
* New function for cross sections (RHI) from radar volume (:issue:`439`) by `@pandasambit15 <https://github.com/pandasambit15>`_ and (:pull:`610`) by `@JulianGiles <https://github.com/JulianGiles>`_
19+
20+
**Maintenance code**
21+
22+
* Adapt codebase to use xradar, move/remove duplicate code (:pull:`617`) by `@kmuehlbauer <https://github.com/kmuehlbauer>`_
23+
24+
**Maintenance - CI**
25+
26+
* several updates and fixes to the CI (:pull:`604`), (:pull:`613`), (:pull:`616`), (:pull:`618`) by `@kmuehlbauer <https://github.com/kmuehlbauer>`_
27+
28+
**Bugfixes**
29+
30+
* delete tmp-files for VectorSource after closing (:issue:`608`) and (:pull:`609`) by `@plvoit <https://github.com/plvoit>`_
931

1032
Version 1.18.0
1133
--------------

0 commit comments

Comments
 (0)