Skip to content

Commit

Permalink
Update DWD radar profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Oct 15, 2022
1 parent d802365 commit 948187f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/provider/dwd/radar/test_api_current.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_radar_request_site_current_sweep_vol_v_hdf5_full():

shape = hdf["/dataset1/data1/data"].shape

assert shape in ((360, 180), (360, 720), (361, 720), (358, 720))
assert shape in ((360, 180), (360, 720), (361, 720), (358, 720), (356, 720))


@pytest.mark.remote
Expand Down
4 changes: 2 additions & 2 deletions tests/provider/dwd/radar/test_api_recent.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_radar_request_site_recent_sweep_pcp_v_hdf5():
assert hdf["/how"].attrs.get("scan_count") == 1
assert hdf["/dataset1/how"].attrs.get("scan_index") == 1

assert hdf["/dataset1/data1/data"].shape in ((360, 600), (359, 600), (358, 600))
assert hdf["/dataset1/data1/data"].shape in ((360, 600), (359, 600), (358, 600), (357, 600))


@pytest.mark.remote
Expand Down Expand Up @@ -100,7 +100,7 @@ def test_radar_request_site_recent_sweep_vol_v_hdf5():
assert hdf["/how"].attrs.get("scan_count") == 10
assert hdf["/dataset1/how"].attrs.get("scan_index") == 1

assert hdf["/dataset1/data1/data"].shape in ((361, 720), (360, 720), (359, 720), (358, 720))
assert hdf["/dataset1/data1/data"].shape in ((361, 720), (360, 720), (359, 720), (358, 720), (356, 720))

# Verify that the second file is the second scan / elevation level.
buffer = results[1].data
Expand Down
6 changes: 5 additions & 1 deletion wetterdienst/provider/dwd/mosmix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE for more info.
from wetterdienst.provider.dwd.mosmix.api import DwdMosmixRequest, DwdMosmixValues
from wetterdienst.provider.dwd.mosmix.api import (
DwdMosmixRequest,
DwdMosmixStationGroup,
DwdMosmixValues,
)
from wetterdienst.provider.dwd.mosmix.metadata.dates import DwdForecastDate
from wetterdienst.provider.dwd.mosmix.metadata.mosmix_type import DwdMosmixType

0 comments on commit 948187f

Please sign in to comment.