From 964601f9e4088202abe7f9071678d325a2448013 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Tue, 15 Oct 2024 16:12:34 +0100 Subject: [PATCH] add more prints --- src/nwp_consumer/internal/inputs/metoffice/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nwp_consumer/internal/inputs/metoffice/client.py b/src/nwp_consumer/internal/inputs/metoffice/client.py index a7df10f4..0a3da6c6 100644 --- a/src/nwp_consumer/internal/inputs/metoffice/client.py +++ b/src/nwp_consumer/internal/inputs/metoffice/client.py @@ -215,6 +215,10 @@ def mapCachedRaw(self, *, p: pathlib.Path) -> xr.Dataset: # noqa: D102 # 1. Rename the parameter to the OCF short name currentName = next(iter(parameterDataset.data_vars)) parameterNumber = parameterDataset[currentName].attrs["GRIB_parameterNumber"] + print('YYYYY') + print(currentName) + print(parameterNumber) + print('YYYYY') # The two wind dirs are the only parameters read in as "unknown" # * Tell them apart via the parameterNumber attribute