From 7588ff78fa09500df0b461551dc24192a7e2c3a3 Mon Sep 17 00:00:00 2001 From: AdamTheisen Date: Tue, 15 Oct 2024 12:22:10 -0500 Subject: [PATCH] ENH: Adding in averaging to the TSI data. --- examples/plotting/plot_satellite.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/plotting/plot_satellite.py b/examples/plotting/plot_satellite.py index 8303b594a9..c66c780212 100644 --- a/examples/plotting/plot_satellite.py +++ b/examples/plotting/plot_satellite.py @@ -29,6 +29,7 @@ files = DATASETS.fetch('enatsiskycoverC1.b1.20230307.082100.cdf') ds_tsi = act.io.read_arm_netcdf(files) ds_tsi = ds_tsi.where(ds_tsi.percent_opaque > 0) +ds_tsi = ds_tsi.resample(time='30min').mean() # Set coordinates to extra data for ENA ena_lat = 39.091600