Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Oct 28, 2023
1 parent bcf235f commit a70f1d1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/developers_guide/ocean/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,14 @@
vertical.zlevel.compute_z_level_resting_thickness
vertical.zstar.init_z_star_vertical_coord
```

### Visualization

```{eval-rst}
.. currentmodule:: polaris.ocean.viz
.. autosummary::
:toctree: generated/
compute_transect
plot_transect
10 changes: 10 additions & 0 deletions docs/developers_guide/ocean/framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,3 +422,13 @@ density, which is horizontally constant and increases with depth.
The {py:func}`polaris.ocean.rpe.compute_rpe()` is used to compute the RPE as
a function of time in a series of one or more output files. The RPE is stored
in `rpe.csv` and also returned as a numpy array for plotting and analysis.

## Visualization

The `polaris.ocean.viz` module provides functions for making plots that are
specific to the ocean component.

The `polaris.ocean.viz.transect` modules includes functions for computing
({py:func}`polaris.ocean.viz.compute_transect()`) and plotting
({py:func}`polaris.ocean.viz.plot_transect()`) transects through the ocean
from a sequence of x-y or latitude-longitude coordinates.

0 comments on commit a70f1d1

Please sign in to comment.