From 9538ba51b6084a83636ece5e3ed00662430f660c Mon Sep 17 00:00:00 2001 From: Guillaume Vernieres Date: Mon, 7 Oct 2024 09:13:40 -0400 Subject: [PATCH] Update ush/python/pygfs/utils/marine_da_utils.py Co-authored-by: Rahul Mahajan --- ush/python/pygfs/utils/marine_da_utils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ush/python/pygfs/utils/marine_da_utils.py b/ush/python/pygfs/utils/marine_da_utils.py index 979a76ca3e..d7b2df9d12 100644 --- a/ush/python/pygfs/utils/marine_da_utils.py +++ b/ush/python/pygfs/utils/marine_da_utils.py @@ -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