Skip to content

Commit

Permalink
Add test loading ICON EU data
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Aug 9, 2023
1 parent ff981d6 commit 0e06815
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/load/nwp/test_load_nwp.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ def test_load_nwp():
assert metadata is not None


def test_load_icon_eu():
nwp_datapipe = OpenNWP(
zarr_path="/home/jacob/Development/ocf_datapipes/tests/data/icon_eu.zarr",
provider="icon-eu",
)
metadata = next(iter(nwp_datapipe))
assert metadata is not None


def test_load_latest_nwp():
base_nwp_datapipe = OpenNWP(zarr_path="tests/data/nwp_data/test.zarr")
recent_obs_datapipe = OpenLatestNWPDataPipe(base_nwp_datapipe)
Expand Down

0 comments on commit 0e06815

Please sign in to comment.