Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit b55a74e

Browse files
committed
adding comment about UKV
1 parent 33aedec commit b55a74e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nowcasting_dataset/data_sources/nwp/nwp_data_source.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ def open_nwp(zarr_path: str, consolidated: bool) -> xr.DataArray:
179179
zarr_path, engine="zarr", consolidated=consolidated, mode="r", chunks=None
180180
)
181181

182+
# Select the "UKV" DataArray from the "nwp" Dataset.
183+
# "UKV" is the one and only DataArray in the Zarr Dataset.
184+
# "UKV" stands for "United Kingdom Variable", and it the UK Met Office's high-res deterministic
185+
# NWP for the UK. All the NWP variables are represented in the `variable` dimension within
186+
# the UKV DataArray.
182187
ukv = nwp["UKV"]
183188

184189
# Reverse `y` so it's top-to-bottom (so ZarrDataSource.get_example() works correctly!)

0 commit comments

Comments
 (0)