Skip to content

Commit

Permalink
ENH: updating example to show how to write out as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTheisen committed Aug 21, 2024
1 parent d453264 commit 1e5081f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/discovery/plot_improve.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
# Print out the known problems documented by IMPROVE
print(ds.attrs['site_problems'])

# Write out the data to netCDF and csv
ds.to_netcdf('./sgpimprove.20230101.nc')
ds.to_dataframe().to_csv('sgpimprove.20230101.csv')

plt.show()

0 comments on commit 1e5081f

Please sign in to comment.