Skip to content

Commit

Permalink
Remove yamls not yet needed
Browse files Browse the repository at this point in the history
Also clean up unneeded python imports

Refs NOAA-EMC#2475
  • Loading branch information
KateFriedman-NOAA committed May 31, 2024
1 parent 09a407a commit 4a92a10
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 73 deletions.
44 changes: 0 additions & 44 deletions parm/stage/fv3_nest.yaml.j2

This file was deleted.

15 changes: 0 additions & 15 deletions parm/stage/fv3_warm.yaml.j2

This file was deleted.

8 changes: 0 additions & 8 deletions parm/stage/mediator.yaml.j2

This file was deleted.

7 changes: 1 addition & 6 deletions scripts/exglobal_stage_ic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

from pygfs.task.stage import Stage
from wxflow import AttrDict, Logger, cast_strdict_as_dtypedict, chdir, logit
from wxflow import AttrDict, Logger, cast_strdict_as_dtypedict, logit

# Initialize root logger
logger = Logger(level=os.environ.get("LOGGING_LEVEL", "DEBUG"), colored_log=True)
Expand All @@ -21,7 +21,6 @@ def main():
'current_cycle','EXP_WARM_START','CDUMP','rCDUMP',
'ROTDIR','PARMgfs','ntiles','MEMDIR',
'BASE_CPLIC','waveGRD','OCNRES','USE_OCN_PERTURB_FILES',
#TODO: Need this for mediator#'CPL_MEDIC',
'CPL_ATMIC','CPL_ICEIC','CPL_OCNIC','CPL_WAVIC']

stage_dict = AttrDict()
Expand All @@ -33,10 +32,6 @@ def main():
if key.startswith("COM"):
stage_dict[key] = stage.task_config[key]

#TEST PRINT
for key in stage_dict:
print(f'{key} = {stage_dict[key]}')

# Add the os.path.exists function to the dict for yaml parsing
stage_dict['path_exists'] = os.path.exists

Expand Down

0 comments on commit 4a92a10

Please sign in to comment.