Examples of analysis of CESM LENS data publicly available on Amazon S3 (us-west-2 region) using xarray and dask
Try these notebooks on Pangeo Binder. Note that the session is ephemeral. Your home directory will not persist, so remember to download your notebooks if you made changes that you need to use at a later time!
The master intake catalog URL is:
https://raw.githubusercontent.com/NCAR/cesm-lens-aws/master/intake-catalogs/master.yaml
This catalog is an Intake catalog. The data is stored in Zarr format and meant to be opened with Xarray.
Using this catalog requires the following package versions:
- Intake-xarray >= 0.3.1
- Dask >= 2.2.0
To open the catalog and load a dataset from Python, you can run the following code
import intake
cat_url = "https://raw.githubusercontent.com/NCAR/cesm-lens-aws/master/intake-catalogs/master.yaml"
cat = intake.Catalog(cat_url)
ds = cat.ice_northern_hemisphere_monthly.grid_cellmean_ice_thickness_RCP85.to_dask()
To explore the whole catalog, you can try:
cat.walk(depth=5)