Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Nov 7, 2023
1 parent ac7f225 commit d9b666d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/developers_guide/ocean/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,22 @@
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
transect.horiz.find_spherical_transect_cells_and_weights
transect.horiz.find_planar_transect_cells_and_weights
transect.horiz.make_triangle_tree
transect.horiz.mesh_to_triangles
transect.vert.find_transect_levels_and_weights
transect.vert.interp_mpas_to_transect_cells
transect.vert.interp_mpas_to_transect_nodes
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 d9b666d

Please sign in to comment.