Skip to content

Commit

Permalink
Merge pull request #40 from NCAR/geocat-datafiles_example
Browse files Browse the repository at this point in the history
Use geocat-datafiles for downloading data files
  • Loading branch information
clyne committed Jan 24, 2020
2 parents b911332 + a6da7ca commit 9c6cc0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rtd_conda_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
dependencies:
- python=3
- geocat-comp
- geocat-datafiles
- netcdf4
- cartopy
- mock
Expand Down
4 changes: 3 additions & 1 deletion Plots/Contours/NCL_coneff_16.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@


from pprint import pprint
ds = xr.open_dataset('../../data/netcdf_files/uv300.nc')

import geocat.datafiles
ds = xr.open_dataset(geocat.datafiles.get('netcdf_files/uv300.nc'))
U = ds.U[1,:,:]

plt.rcParams['figure.figsize'] = [20, 10]
Expand Down
1 change: 1 addition & 0 deletions conda_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ channels:
dependencies:
- python=3
- geocat-comp
- geocat-datafiles
- netcdf4
- cartopy
- cmaps
Expand Down

0 comments on commit 9c6cc0f

Please sign in to comment.