Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gdas.cd #2978

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
84600b6
wip, added tools to select mom6 levels
guillaumevernieres Oct 2, 2024
303d417
pynorm ...
guillaumevernieres Oct 2, 2024
24839f5
switched to dict
guillaumevernieres Oct 3, 2024
9538ba5
Update ush/python/pygfs/utils/marine_da_utils.py
guillaumevernieres Oct 7, 2024
4a3d981
new jedi hashes
guillaumevernieres Oct 7, 2024
bd4478e
Merge branch 'develop' into feature/update_hashes
guillaumevernieres Oct 11, 2024
e9ad837
updated gdas
guillaumevernieres Oct 11, 2024
9536c8b
Merge branch 'develop' into feature/update_hashes
aerorahul Oct 11, 2024
f5f3638
Merge branch 'develop' into feature/update_hashes
guillaumevernieres Oct 16, 2024
81dcd72
turn off C96C48_hybatmaerosnowDA CI on wcoss2
RussTreadon-NOAA Oct 17, 2024
5869ff3
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 17, 2024
e9fa90c
update sorc/gdas.cd to point at GDASApp patch/gwci
RussTreadon-NOAA Oct 17, 2024
ea9f2d0
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 21, 2024
896afea
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 21, 2024
9a81d9d
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 22, 2024
dc2ae99
update gdas_fv3jedi_ver to 20241022
RussTreadon-NOAA Oct 22, 2024
a98803f
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 22, 2024
4f17f52
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 23, 2024
6c30d36
update gdas.cd hash in response to g-w issue #3022
RussTreadon-NOAA Oct 23, 2024
228c42c
Merge branch 'develop' into feature/update_hashes
RussTreadon-NOAA Oct 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci/cases/pr/C96C48_hybatmaerosnowDA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ arguments:
yaml: {{ HOMEgfs }}/ci/cases/yamls/atmaerosnowDA_defaults_ci.yaml

skip_ci_on_hosts:
- wcoss2
- orion
- gaea
- hercules
2 changes: 1 addition & 1 deletion sorc/gdas.cd
Submodule gdas.cd updated 107 files
1 change: 1 addition & 0 deletions ush/python/pygfs/task/marine_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def _prep_variational_yaml(self: Task) -> None:
envconfig_jcb['cyc'] = os.getenv('cyc')
envconfig_jcb['SOCA_NINNER'] = self.task_config.SOCA_NINNER
envconfig_jcb['obs_list'] = ['adt_rads_all']
envconfig_jcb['MOM6_LEVS'] = mdau.get_mom6_levels(str(self.task_config.OCNRES))

# Write obs_list_short
save_as_yaml(parse_obs_list_file(self.task_config.MARINE_OBS_LIST_YAML), 'obs_list_short.yaml')
Expand Down
33 changes: 33 additions & 0 deletions ush/python/pygfs/utils/marine_da_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,36 @@ def clean_empty_obsspaces(config, target, app='var'):

# save cleaned yaml
save_as_yaml(config, target)


@logit(logger)
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.
guillaumevernieres marked this conversation as resolved.
Show resolved Hide resolved

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
ocnres_to_nlev = {
'500': 25,
'100': 75,
'050': 75,
'025': 75
}
try:
nlev = ocnres_to_nlev.get(ocnres)
except KeyError:
raise KeyError("FATAL ERROR: Invalid ocnres value. Aborting.")

return nlev
2 changes: 1 addition & 1 deletion versions/fix.ver
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export cice_ver=20240416
export cpl_ver=20230526
export datm_ver=20220805
export gdas_crtm_ver=20220805
export gdas_fv3jedi_ver=20220805
export gdas_fv3jedi_ver=20241022
CoryMartin-NOAA marked this conversation as resolved.
Show resolved Hide resolved
export gdas_soca_ver=20240802
export gdas_gsibec_ver=20240416
export gdas_obs_ver=20240213
Expand Down
Loading