Loading src/cso/cso_catalogue.py +11 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,9 @@ # Harmonized settings for colormap. # Support multiple frequencies for gridded catalogue. # # 2026-09, Arjo Segers # Apply temporal averaging over gridded data. # ######################################################################## Loading Loading @@ -1398,6 +1401,14 @@ class CSO_GriddedCatalogue(CSO_CatalogueBase): raise Exception # endif # time dimension present? if "time" in vda.dims: # info ... logging.info(f"{indent} temporal average over ({t},{t+dt}) ...") # select and average: vda = vda.sel( time=slice(t,t+dt) ).mean( dim="time" ) #endif # data: values = vda.values.squeeze() # select layer if needed .. Loading Loading
src/cso/cso_catalogue.py +11 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,9 @@ # Harmonized settings for colormap. # Support multiple frequencies for gridded catalogue. # # 2026-09, Arjo Segers # Apply temporal averaging over gridded data. # ######################################################################## Loading Loading @@ -1398,6 +1401,14 @@ class CSO_GriddedCatalogue(CSO_CatalogueBase): raise Exception # endif # time dimension present? if "time" in vda.dims: # info ... logging.info(f"{indent} temporal average over ({t},{t+dt}) ...") # select and average: vda = vda.sel( time=slice(t,t+dt) ).mean( dim="time" ) #endif # data: values = vda.values.squeeze() # select layer if needed .. Loading