Skip to content

Commit

Permalink
Run one executable for soca2cice (instead of two) (NOAA-EMC#3118)
Browse files Browse the repository at this point in the history
Run a single executable to add soca increments to cice restart files,
processing arctic and antarctic simultaneously to save on runtime and
I/O.
Resolves NOAA-EMC/GDASApp#1367

---------

Co-authored-by: shlyaeva <anna.v.shlyaeva@noaa.gov>
Co-authored-by: RussTreadon-NOAA <26926959+RussTreadon-NOAA@users.noreply.github.com>
Co-authored-by: RussTreadon-NOAA <Russ.Treadon@noaa.gov>
  • Loading branch information
4 people authored Nov 23, 2024
1 parent efc25be commit 1ba8985
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions scripts/exglobal_marine_analysis_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@
# Prepare the SOCA increment for MOM6 IAU
MarineAnl.checkpoint_mom6_iau('socaincr2mom6.yaml')

# Insert the seaice analysis into the CICE6 restarts in 2 sequential stages
MarineAnl.checkpoint_cice6('soca_2cice_arctic.yaml')
MarineAnl.checkpoint_cice6('soca_2cice_antarctic.yaml')
# Insert the seaice analysis into the CICE6 restart
MarineAnl.checkpoint_cice6('soca_2cice_global.yaml')
2 changes: 1 addition & 1 deletion sorc/gdas.cd
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/marine_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def _prep_checkpoint(self: Task) -> None:

# render the SOCA to CICE YAML file for the Arctic and Antarctic
logger.info("render the SOCA to CICE YAML file for the Arctic and Antarctic")
varchgyamls = ['soca_2cice_arctic.yaml', 'soca_2cice_antarctic.yaml']
varchgyamls = ['soca_2cice_global.yaml']
for varchgyaml in varchgyamls:
soca2cice_config = parse_j2yaml(path=os.path.join(self.task_config.MARINE_JCB_GDAS_ALGO, f'{varchgyaml}.j2'),
data=soca2cice_param)
Expand Down

0 comments on commit 1ba8985

Please sign in to comment.