Skip to content

Commit

Permalink
Fix for plot_multiple_dataset.py (#603)
Browse files Browse the repository at this point in the history
* ENH: Fixing document build error

* ENH: Removing print statement

* ENH: trying a better fix here

* ENH: Fix for the plot example

* ENH:  Adding in fix for plot_multiple_dataset.py

Co-authored-by: Adam Theisen <[email protected]>
  • Loading branch information
AdamTheisen and Adam Theisen authored Dec 29, 2022
1 parent c526beb commit 368a926
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/workflows/plot_multiple_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 368a926

Please sign in to comment.