Skip to content

Commit

Permalink
Pressure Interpolation (#23)
Browse files Browse the repository at this point in the history
* add pressure interpolation code

* interp at same precision as dataset

* geopotential calculation

* docstring

* move to separate module

* mask the field

* docs

* add cfgrib package

* update docs

* another example of using Layers2Pressure

* mention geopotential calc here

* small meta data update
  • Loading branch information
timothyas authored Aug 1, 2024
1 parent 99e7d98 commit 85e5b9c
Show file tree
Hide file tree
Showing 11 changed files with 1,959 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ Regridding
.. autosummary::
:toctree: generated/

ufs2arco.Layers2Pressure
ufs2arco.MOM6Regridder
ufs2arco.CICE6Regridder
371 changes: 371 additions & 0 deletions docs/example_pressure_interpolation.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Tools for converting Unified Forecast System (UFS) output to Analysis Ready, Clo
Replay FV3 (1 Degree) <example_replay_fv3>
Replay MOM6 (1 Degree) <example_replay_mom6>
Replay CICE6 (1 Degree) <example_replay_cice6>
Interpolate FV3 to Pressure Levels <example_pressure_interpolation>


.. toctree::
:maxdepth: 1
Expand Down
1 change: 1 addition & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- dask[complete]
- zarr
- cftime
- cfgrib
# jupyter etc
- jupyter
- ipython
Expand Down
Loading

0 comments on commit 85e5b9c

Please sign in to comment.