You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: LICENSE.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
The MIT License (MIT)
2
2
3
-
Copyright (c) 2011-2020 wradlib developers
3
+
Copyright (c) 2011-2021 wradlib developers
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
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.
Copy file name to clipboardExpand all lines: source/installation.rst
+41-27Lines changed: 41 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Bleeding edge code
69
69
70
70
`Download <https://codeload.github.com/wradlib/wradlib/zip/main>`_ the source, unzip, and run::
71
71
72
-
$ python setup.py install
72
+
$ python -m pip install .
73
73
74
74
Alternatively, you can add the :math:`\omega radlib` directory to your environment variable ``PYTHONPATH``.
75
75
@@ -81,7 +81,7 @@ Although we recommend using the Anaconda Python Environment you can install :mat
81
81
82
82
Open a terminal and run::
83
83
84
-
$ pip install wradlib
84
+
$ python -m pip install wradlib
85
85
86
86
Depending on your system you might need to be root (or sudo the above command) for this to work.
87
87
``pip`` will then fetch the source distribution from the Python Package Index and run the installation.
@@ -93,36 +93,28 @@ For example the numpy module itself depends on some other libraries, which need
93
93
94
94
Therefore we recommend trying to satisfy the dependencies using your favorite package management system.
95
95
96
+
Installing via ``pip`` tries to install all dependencies, but be sure to have all depending non-python libraries installed. Wheels are not available for all dependencies (eg. GDAL).
97
+
96
98
97
99
.. _ref-dependencies:
98
100
99
101
Dependencies
100
102
------------
101
103
102
-
:math:`\omega radlib` was not designed to be a self-contained library. Besides extensive use of Numpy and Scipy, :math:`\omega radlib` uses additional libraries, which you will need to install before you can use :math:`\omega radlib`.
104
+
:math:`\omega radlib` was not designed to be a self-contained library. Besides extensive use of Numpy and Scipy, :math:`\omega radlib` uses additional libraries, which you might need to install before you can use :math:`\omega radlib` depending on your system and installation procedure.
103
105
104
106
.. tabularcolumns:: |L|L|L|
105
107
106
108
+------------+-----------+-------------+
107
109
| Package | min | recommended |
108
110
+============+===========+=============+
109
-
| numpy | >= 1.9 | >= 1.19.0 |
110
-
+------------+-----------+-------------+
111
-
| matplotlib | >= 3 | >= 3.3.0 |
111
+
| numpy | >= 1.9 | >= 1.21.0 |
112
112
+------------+-----------+-------------+
113
-
| scipy | >= 1.0 | >= 1.5.0 |
114
-
+------------+-----------+-------------+
115
-
| h5py | >= 2.0.1 | >= 3.1.0 |
116
-
+------------+-----------+-------------+
117
-
| h5netcdf | >= 0.8.0 | >= 0.10.0 |
118
-
+------------+-----------+-------------+
119
-
| netCDF4 | >= 1.0 | >= 1.5.0 |
113
+
| scipy | >= 1.0 | >= 1.7.0 |
120
114
+------------+-----------+-------------+
121
-
| xarray | >= 0.15 | >= 0.17.0 |
122
-
+------------+-----------+-------------+
123
-
| xmltodict | >= 0.11 | >= 0.12.0 |
115
+
| matplotlib | >= 3 | >= 3.3.0 |
124
116
+------------+-----------+-------------+
125
-
|gdal| >= 2.4| >= 3.1.0 |
117
+
|xarray| >= 0.17| >= 0.20.2|
126
118
+------------+-----------+-------------+
127
119
128
120
You can check whether the required `Dependencies`_ are available on your computer by opening a Python console and enter:
@@ -139,29 +131,51 @@ some version number
139
131
140
132
The version number should be consistent with the above `Dependencies`_.
141
133
142
-
The following libraries are used by `netCDF4`, `h5py` and `gdal` packages and should apply to these requirements:
134
+
135
+
Optional Dependencies
136
+
---------------------
137
+
138
+
Apart from the obligatory `Dependencies`_, some dependencies in :math:`\omega radlib` are optional. This is because the installation of these dependencies can be somewhat tedious while many :math:`\omega radlib` users will not need them anyway. In case users use a :math:`\omega radlib` function that requires an optional dependency, and this dependency is not satisfied in the local environment, :math:`\omega radlib` will raise an exception.
139
+
140
+
As for now, the following dependencies are defined as optional:
143
141
144
142
.. tabularcolumns:: |L|L|L|
145
143
146
144
+------------+-----------+-------------+
147
-
|Lbrary | min | recommended |
145
+
|Package| min | recommended |
148
146
+============+===========+=============+
149
-
|geos| >= 3.7.0 | >= 3.8.0 |
147
+
|dask| >= 2.20 | >= latest|
150
148
+------------+-----------+-------------+
151
-
|hdf5| >= 1.9.0 | >= 1.10.0|
149
+
|gdal| >= 2.4 | >= 3.1.0 |
152
150
+------------+-----------+-------------+
153
-
| libnetcdf | >= 4.7.3 | >= 4.7.4 |
151
+
| h5py | >= 2.0.1 | >= 3.1.0 |
152
+
+------------+-----------+-------------+
153
+
| h5netcdf | >= 0.8.0 | >= 0.10.0 |
154
154
+------------+-----------+-------------+
155
-
| proj4/proj | >= 5.2.0 | >= 7.0.0 |
155
+
| netCDF4 | >= 1.0 | >= 1.5.0 |
156
+
+------------+-----------+-------------+
157
+
| requests | >= 2.23.0 | >= 2.26.0 |
158
+
+------------+-----------+-------------+
159
+
| xmltodict | >= 0.11 | >= 0.12.0 |
156
160
+------------+-----------+-------------+
157
161
158
162
159
-
Optional Dependencies
160
-
---------------------
163
+
The following libraries are used by `netCDF4`, `h5py`/`h5netcdf` and `gdal` packages and should apply to these requirements:
161
164
162
-
Apart from the obligatory `Dependencies`_, some dependencies in :math:`\omega radlib` are optional. This is because the installation of these dependencies can be somewhat tedious while many :math:`\omega radlib` users will not need them anyway. In case users use a :math:`\omega radlib` function that requires an optional dependency, and this dependency is not satisfied in the local environment, :math:`\omega radlib` will raise an exception.
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`.
9
9
10
+
Version 1.12.0
11
+
--------------
12
+
13
+
**New features**
14
+
15
+
* add IRIS/Sigmet backend for ``Xarray`` (:issue:`361`) (:pull:`520`) by `@kmuehlbauer <https://github.com/kmuehlbauer>`_
16
+
* add Rainbow backend for ``Xarray`` (:issue:`394`, :issue:`459`) suggested by `@wcwoo <https://github.com/wcwoo>`_ and `@maxok <https://github.com/maxok>`_ (:pull:`522`) by `@kmuehlbauer <https://github.com/kmuehlbauer>`_
0 commit comments