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 2ee23eb commit 690e6f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ This enables the user to freely mix+match operations from both projects, getting
> import ncdata.iris_xarray as nci
> import iris.quickplot as qplt
>
> da = xarray.open_dataset(filepath)
> da = da.rolling(time=3).mean()
> cubes = nci.cubes_from_xarray(dataset_resample)
> temp = cubes.extract_cube("air_temperature")
> qplt.contourf(temp[0])
> ds = xarray.open_dataset(filepath)
> ds_resample = ds.rolling(time=3).mean()
> cubes = nci.cubes_from_xarray(ds_resample)
> temp_cube = cubes.extract_cube("air_temperature")
> qplt.contourf(temp_cube[0])
## Contents
* [Motivation](#motivation)
Expand Down

0 comments on commit 690e6f5

Please sign in to comment.