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

Commit 4465b58

Browse files
committed
ENH: update doc structure for REL 1.3.0
1 parent ede1426 commit 4465b58

File tree

10 files changed

+122
-21
lines changed

10 files changed

+122
-21
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ deprecation
77
nbsphinx
88
xmltodict
99
semver
10+
xarray

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def __getattr__(cls, name):
138138
'mpl_toolkits.axisartist.angle_helper',
139139
'h5py',
140140
'netCDF4', 'osgeo',
141-
'xarray']
141+
'cartopy']
142142
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
143143

144144
# get wradlib version

source/dev_guide.rst

Lines changed: 1 addition & 1 deletion
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, osx-64 and MS Windows 32 and 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 Anaconda 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

source/ide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Integrated Development Environments for Python
2-
==============================================
1+
IDEs for Python
2+
===============
33

44
Development Environments vs. Notebooks
55
--------------------------------------

source/index.rst

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ wradlib: An Open Source Library for Weather Radar Data Processing
1111
:notebooks: {notebooks}
1212
:docs: {docs}
1313

14-
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>`_.
14+
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.
1515

1616
.. note:: Please cite :math:`\omega radlib` as *Heistermann, M., Jacobi, S., and Pfaff, T.: Technical Note: An open source library for processing weather radar data (wradlib), Hydrol. Earth Syst. Sci., 17, 863-871,* doi:`10.5194/hess-17-863-2013, 2013 <https://www.hydrol-earth-syst-sci.net/17/863/2013/hess-17-863-2013.pdf>`_
1717

@@ -24,21 +24,81 @@ with high spatio-temporal resolution over large areas makes it an invaluable too
2424

2525
This documentation is under steady development. It provides a complete library reference as well as a set of tutorials which will get you started in working with :math:`\omega radlib`.
2626

27+
Documentation
28+
-------------
29+
30+
**Installation**
31+
32+
* :doc:`installation`
33+
* :doc:`docker`
34+
* :doc:`ide`
35+
2736
.. toctree::
28-
:maxdepth: 2
37+
:maxdepth: 1
38+
:hidden:
39+
:caption: Getting started
2940

3041
installation
42+
docker
43+
ide
44+
45+
**User Guide**
46+
47+
* :doc:`user_guide`
48+
* :doc:`notebooks/fileio`
49+
* :doc:`Attenuation Correction <notebooks/attenuation/wradlib_attenuation>`
50+
* :doc:`Echo Classification <notebooks/classify>`
51+
* :doc:`notebooks/georeferencing`
52+
* :doc:`plotting`
53+
* :doc:`Interpolation <notebooks/interpolation/wradlib_ipol_example>`
54+
* :doc:`Rainfall Adjustment <notebooks/multisensor/wradlib_adjust_example>`
55+
* :doc:`notebooks/zonalstats/wradlib_zonalstats_classes`
56+
* :doc:`specials`
57+
58+
.. toctree::
59+
:maxdepth: 1
60+
:hidden:
61+
:caption: Tutorials & examples
62+
3163
user_guide
32-
notebooks/overview.ipynb
64+
notebooks/fileio
65+
Attenuation Correction <notebooks/attenuation/wradlib_attenuation>
66+
Echo Classification <notebooks/classify>
67+
notebooks/georeferencing
68+
plotting
69+
Interpolation <notebooks/interpolation/wradlib_ipol_example>
70+
Rainfall Adjustment <notebooks/multisensor/wradlib_adjust_example>
71+
notebooks/zonalstats/wradlib_zonalstats_classes
72+
specials
73+
74+
**Help & reference**
75+
76+
* :doc:`reference`
77+
* :doc:`community`
78+
* :doc:`dev_guide`
79+
* :doc:`zreferences`
80+
* :doc:`release_notes`
81+
82+
.. toctree::
83+
:maxdepth: 1
84+
:hidden:
85+
:caption: Help & reference
86+
3387
reference
88+
community
3489
dev_guide
3590
zreferences
3691
release_notes
3792

93+
License
94+
-------
95+
96+
wradlib is available under the open source `MIT License`__.
97+
98+
__ https://opensource.org/licenses/MIT
99+
38100
Indices and tables
39-
==================
101+
------------------
40102

41103
* :ref:`genindex`
42104
* :ref:`modindex`
43-
* :ref:`search`
44-

source/jupyter.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Once these conditions are met, you can open a notebook: Launch a console or bash
2727
If you installed :math:`\omega radlib` into a conda environment (as recommended :doc:`here <installation>`),
2828
you need to activate that environment first. Let's say you named the environment `wradlib`::
2929

30-
> activate wradlib
30+
> conda activate wradlib
3131
> jupyter notebook
3232

3333
Did you forget the name of the environment that contains wradlib? This way, you get an overview over all environments::
@@ -37,8 +37,8 @@ Did you forget the name of the environment that contains wradlib? This way, you
3737
which will give you something like (example output under Windows)::
3838

3939
# conda environments
40-
wradlib C:\Anaconda2\envs\wradlib
41-
root * C:\Anaconda2
40+
wradlib C:\Anaconda3\envs\wradlib
41+
root * C:\Anaconda3
4242

4343
In both cases, a browser window will open (typically at http://localhost:8888/tree) which will show the tree of the directory in which you started the jupyter notebook server. Just open any notebook by clicking. Code cells are executed by hitting ``Shift + Enter`` or by using the toolbar icons. It's pretty much self-explaining, and you'll soon get the hang of it.
4444

source/plotting.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Plotting
2+
========
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
notebooks/visualisation/wradlib_plot_ppi_example
8+
notebooks/visualisation/wradlib_plot_rhi_example
9+
notebooks/visualisation/wradlib_plot_curvelinear_grids
10+
notebooks/visualisation/wradlib_plot_ppi_xarray
11+
notebooks/visualisation/wradlib_overlay
12+
notebooks/visualisation/wradlib_overlay_cartopy

source/release_notes.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,31 @@ Please note that :math:`\omega radlib` releases follow `semantic versioning <htt
55

66
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`.
77

8-
98
Bleeding Edge
109
-------------
1110

11+
Nothing, so far.
12+
13+
Version 1.3.0
14+
-------------
15+
1216
**Highlights**
1317

14-
* added xarray-powered reader/writer for Cf/Radial and ODIM_H5
18+
* wradlib is considered Python3 only working with Python >= 3.6
19+
* xarray-powered reader/writer for Cf/Radial 1.X and 2.0 as well as ODIM_H5
20+
* xarray-powered plotting using DataArray via xarray-DataArray Accessor
21+
22+
**New features**
23+
24+
* creation of xarray DataArray from spherical coordinates and radar data
25+
* update test machinery to use pytest (mainly CI use)
26+
* correctly apply `semver`
27+
28+
**Bugfixes**
29+
30+
* beamblockage calculation, precisely detect clear or blocked beam
31+
* catch HTTPError in `test_radiosonde`, graceful skip test
32+
* `spherical_to_xyz` better aligns with input dimensions
1533

1634
Version 1.2.0
1735
-------------

source/specials.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Specials
2+
========
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
notebooks/beamblockage/wradlib_beamblock
8+
notebooks/match3d/wradlib_match_workflow
9+
notebooks/verification/wradlib_verify_example
10+
notebooks/radolan
11+
notebooks/recipes

source/user_guide.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
User Guide
2-
==========
1+
Introduction
2+
============
33

44
.. toctree::
5-
:maxdepth: 2
5+
:maxdepth: 1
66

77
jupyter.rst
8-
ide.rst
9-
docker.rst
10-
community.rst
8+
notebooks/learnpython
9+
notebooks/basics

0 commit comments

Comments
 (0)