Skip to content

Commit 2487b88

Browse files
committed
Use pdbufr to read DWD radar data in bufr format
1 parent 6fb0578 commit 2487b88

File tree

16 files changed

+367
-142
lines changed

16 files changed

+367
-142
lines changed

.github/workflows/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo "Installing package and requirements for ${flavor}"
1111

1212
if [[ "${flavor}" = "testing" ]]; then
1313
poetry run pip install wradlib --no-deps
14-
poetry install --no-interaction --extras=sql --extras=export --extras=restapi --extras=explorer
14+
poetry install --no-interaction --extras=sql --extras=export --extras=restapi --extras=explorer --extras=bufr
1515

1616
elif [[ "${flavor}" = "docs" ]]; then
1717
poetry install --no-interaction --extras=docs

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
path: .venv
4949
key: poetry-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}-${{ env.CACHE_NUMBER }}
5050

51+
- name: Install eccodes (Mac only)
52+
run: |
53+
if [ "$RUNNER_OS" == "macOS" ]; then
54+
brew install eccodes && export WD_ECCODES_DIR=$(brew --prefix eccodes)
55+
fi
56+
shell: bash
57+
5158
- name: Install dependencies
5259
run: .github/workflows/install.sh testing
5360
if: steps.poetry-cache-flag.outputs.cache-hit != 'true'

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changelog
44
Development
55
***********
66

7+
- Radar: read bufr data into pandas.DataFrame when eccodes library is provided
8+
79
0.32.0 (24.04.2022)
810
*******************
911

@@ -111,6 +113,7 @@ Features
111113

112114
- Enable selecting a parameter precisely from a dataset by passing a tuple like [("precipitation_height", "kl")] or
113115
[("precipitation_height", "precipitation_more")], or for cli/restapi use "precipitation_height/kl"
116+
- Allow parsing DWD radar data in bufr format to a pandas DataFrame
114117

115118
- Rename wetterdienst show to wetterdienst info, make version accessible via cli with
116119
wetterdienst version

THIRD_PARTY_NOTICES

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
883883

884884

885885
Jinja2
886-
3.1.1
886+
3.1.2
887887
BSD License
888888
Armin Ronacher
889889
https://palletsprojects.com/p/jinja/
@@ -1635,7 +1635,7 @@ DAMAGE.
16351635

16361636

16371637
PyPDF2
1638-
1.27.9
1638+
1.27.10
16391639
BSD License
16401640
Mathieu Fenniak
16411641
https://pypdf2.readthedocs.io/en/latest/
@@ -3198,7 +3198,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31983198
SOFTWARE.
31993199

32003200
click
3201-
8.1.2
3201+
8.1.3
32023202
BSD License
32033203
Armin Ronacher
32043204
https://palletsprojects.com/p/click/
@@ -5846,7 +5846,7 @@ THE SOFTWARE.
58465846

58475847

58485848
flake8-eradicate
5849-
1.2.0
5849+
1.2.1
58505850
MIT License
58515851
Nikita Sobolev
58525852
https://github.com/wemake-services/flake8-eradicate
@@ -6255,7 +6255,7 @@ https://gitlab.com/pycqa/flake8-polyfill
62556255
UNKNOWN
62566256

62576257
flake8-print
6258-
4.0.0
6258+
4.0.1
62596259
MIT License
62606260
Joseph Kahn
62616261
https://github.com/jbkahn/flake8-print
@@ -7323,7 +7323,7 @@ THE SOFTWARE.
73237323

73247324

73257325
jupyter-client
7326-
7.2.2
7326+
7.3.0
73277327
BSD License
73287328
Jupyter Development Team
73297329
https://jupyter.org
@@ -7458,10 +7458,10 @@ to indicate the copyright and license terms:
74587458

74597459

74607460
jupyter-server
7461-
1.16.0
7461+
1.17.0
74627462
BSD License
74637463
Jupyter Development Team
7464-
https://jupyter.org
7464+
https://jupyter-server.readthedocs.io
74657465
# Licensing terms
74667466

74677467
This project is licensed under the terms of the Modified BSD License

docs/usage/python-api.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ and to set it back to standard
142142
from wetterdienst import Settings
143143
Settings.reset()
144144
145+
The environmental settings recognized by our settings are
146+
147+
.. ipython:: python
148+
149+
import json
150+
from wetterdienst import Settings
151+
print(json.dumps(Settings.env.dump(), indent=4))
152+
145153
Also if for whatever reason you have concurrent code running and want it all to have thread-safe settings use it like
146154

147155
.. ipython:: python

0 commit comments

Comments
 (0)