Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 31, 2023
1 parent 67c5524 commit cfde8e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocf_datapipes/load/nwp/nwp.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from torchdata.datapipes import functional_datapipe
from torchdata.datapipes.iter import IterDataPipe

from ocf_datapipes.load.nwp.providers.ukv import open_ukv
from ocf_datapipes.load.nwp.providers.icon import open_icon_eu, open_icon_global
from ocf_datapipes.load.nwp.providers.ukv import open_ukv

_log = logging.getLogger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion ocf_datapipes/load/nwp/providers/icon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import numpy as np
import pandas as pd
import xarray as xr

from ocf_datapipes.load.nwp.providers.utils import open_zarr_paths


Expand Down Expand Up @@ -45,5 +46,5 @@ def open_icon_global(zarr_path) -> xr.DataArray:
Xarray DataArray of the NWP data
"""
# Open the data
nwp = open_zarr_paths(zarr_path)
open_zarr_paths(zarr_path)
raise NotImplementedError("ICON data is not yet supported")

Check warning on line 50 in ocf_datapipes/load/nwp/providers/icon.py

View check run for this annotation

Codecov / codecov/patch

ocf_datapipes/load/nwp/providers/icon.py#L49-L50

Added lines #L49 - L50 were not covered by tests

0 comments on commit cfde8e1

Please sign in to comment.