diff --git a/examples/workflows/plot_multiple_dataset.py b/examples/workflows/plot_multiple_dataset.py index f2e3d2c39a..9a0d9fbf01 100644 --- a/examples/workflows/plot_multiple_dataset.py +++ b/examples/workflows/plot_multiple_dataset.py @@ -24,9 +24,10 @@ met_ds = act.io.armfiles.read_netcdf(act.tests.sample_files.EXAMPLE_MET1) else: # Download and read data - act.discovery.download_data(username, token, 'sgpceilC1.b1', '2019-01-01', '2019-01-07') - ceil_ds = act.io.armfiles.read_netcdf('sgpceilC1.b1/sgpceilC1.b1.201901*.nc') - met_ds = act.io.armfiles.read_netcdf(act.tests.sample_files.EXAMPLE_MET_WILDCARD) + results = act.discovery.download_data(username, token, 'sgpceilC1.b1', '2022-01-01', '2022-01-07') + ceil_ds = act.io.armfiles.read_netcdf(results) + results = act.discovery.download_data(username, token, 'sgpmetE13.b1', '2022-01-01', '2022-01-07') + met_ds = act.io.armfiles.read_netcdf(results) # Read in CEIL data and correct it ceil_ds = act.corrections.ceil.correct_ceil(ceil_ds, -9999.0)