Skip to content

Commit

Permalink
Update ush/python/pygfs/utils/marine_da_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Mahajan <[email protected]>
  • Loading branch information
guillaumevernieres and aerorahul authored Oct 7, 2024
1 parent 24839f5 commit 9538ba5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ush/python/pygfs/utils/marine_da_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ def get_mom6_levels(ocnres: str) -> int:
Temporary function that returns the number of vertical levels in MOM6 given the horizontal resolution.
This is requiered by the diffusion saber block that now makes use of oops::util::FieldSetHelpers::writeFieldSet
and requires the number of levels in the configuration. I have been told this will be changed in the future.
Parameters
-----------
ocnres: str
Input resolution for ocean in str format. e.g. '500', '100', '050', '025'
Returns
-------
nlev: int
number of levels in the ocean model given an input resolution
"""

# Currently implemented resolutions
Expand Down

0 comments on commit 9538ba5

Please sign in to comment.