eWaterCycle / eWaterCycle/notebooks

Use iris-sample-data for datafiles

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Some notebooks use netcdf files from some unknown place. We could use https://github.com/SciTools/iris-sample-data/tree/master/iris_sample_data/sample_data repo as a source of datasets.

For example to get a netcdf filename use
```
import iris
import xarray as xr

fname = iris.sample_data_path('hybrid_height.nc')
cube = xr.open_dataset(fname)
cube.isel(model_level_number=1)['air_potential_temperature'].plot()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.