From 8d67aae866c8581fdb71980cdf0b1d7f4d6f7891 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Mon, 2 Dec 2024 12:35:42 +0000 Subject: [PATCH] fix --- india_forecast_app/models/pvnet/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/india_forecast_app/models/pvnet/utils.py b/india_forecast_app/models/pvnet/utils.py index 8b570e3..59e4fb8 100644 --- a/india_forecast_app/models/pvnet/utils.py +++ b/india_forecast_app/models/pvnet/utils.py @@ -157,7 +157,7 @@ def process_and_cache_nwp(nwp_config: NWPProcessAndCacheConfig): if nwp_config.source == "mo_global": # only select the variables we need - nwp_channels = nwp_config.config.nwp_channels + nwp_channels = list(nwp_config.config.nwp_channels) ds = ds.sel(variable=nwp_channels) # regrid data