Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo authored Jan 14, 2024
1 parent 7a9f454 commit 66d9643
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Especially : Ncdata **exchanges data between Xarray and Iris** as efficently as
This enables the user to freely mix+match operations from both projects, getting the
"best of both worlds".
> import xarray
> import ncdata.iris_xarray as nci
> import iris.quickplot as qplt
>
> import ncdata.iris_xarray as nci
> import iris.quickplot as qplt
>
> ds = xarray.open_dataset(filepath)
> ds_resample = ds.rolling(time=3).mean()
> cubes = nci.cubes_from_xarray(ds_resample)
Expand Down

0 comments on commit 66d9643

Please sign in to comment.