Skip to content

Commit

Permalink
Merge pull request #132 from csyhuang/cds-fixes
Browse files Browse the repository at this point in the history
WIP: Fixes for new CDS and ERA-Interim EOL
  • Loading branch information
csyhuang authored Oct 26, 2024
2 parents 49edf95 + 9b0e7c4 commit f33cf06
Show file tree
Hide file tree
Showing 7 changed files with 718 additions and 438 deletions.
6 changes: 3 additions & 3 deletions notebooks/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ dependencies: # everything under this, installed by conda
#- cartopy # This packages is optional for plotting
#- earthengine-api # This package is optional for running analysis on Google Earth Engine
## The packages below are optional for downloading ERA5
#- pip
#- pip:
# - cdsapi
- pip
- pip:
- cdsapi
13 changes: 11 additions & 2 deletions notebooks/nh2018_science/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## Demo script for the analyses done in Nakamura and Huang (2018, Science)

### Update on 2024/10/13: ERA-Interim dataset is replaced by the ERA5 version

Given the download API for ERA-Interim has been deprecated, the version of notebooks after commit 0081017 consumes ERA5 data which can be downloaded from [Clare's dropbox folder](https://www.dropbox.com/scl/fo/b84pwlr7zzsndq8mpthd8/h?dl=0&rlkey=f8c1gm2xaxvx3c7cf06vop6or):

`notebooks/nh2018_science/2005-01-23_to_2005-01-30_[uvt].nc`

The legacy ERA-Interim data can be found in the same folder:

`notebooks/nh2018_science/legacy_erai_2005-01-23_to_2005-01-30_[uvt].nc`

### Update in Release 0.6.1: xarray interface

Thanks [Christopher Polster](https://github.com/chpolste) for creating an Xarray interface for the `QGField` class!
Expand Down Expand Up @@ -36,8 +46,7 @@ python setup.py install
```

The sample data can be downloaded with the script `download_example.py`, given that you installed
the python package `ecmwfapi` and have an account on ECMWF server. [Update for Release 0.6.1: this package seems to
have deprecated. The download script will use `cdsapi` in the upcoming release.]
the python package `cdsapi` and have an account on ECMWF server.

The functionalities are enhanced and included in the class object `QGField` under
`hn2016_falwa.oopinterface`. Please refer to the [documentation](http://hn2016-falwa.readthedocs.io/) (search `QGField`)
Expand Down
339 changes: 179 additions & 160 deletions notebooks/nh2018_science/demo_script_for_nh2018.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit f33cf06

Please sign in to comment.