Skip to content

Commit

Permalink
Rename parm_gdas as gdas (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul authored Jul 27, 2023
1 parent de7b10a commit 0493371
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions ush/python/pygfs/task/aero_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ def initialize(self: Analysis) -> None:
super().initialize()

# stage CRTM fix files
crtm_fix_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'parm_gdas', 'aero_crtm_coeff.yaml')
crtm_fix_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'gdas', 'aero_crtm_coeff.yaml')
logger.debug(f"Staging CRTM fix files from {crtm_fix_list_path}")
crtm_fix_list = parse_yamltmpl(crtm_fix_list_path, self.task_config)
FileHandler(crtm_fix_list).sync()

# stage fix files
jedi_fix_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'parm_gdas', 'aero_jedi_fix.yaml')
jedi_fix_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'gdas', 'aero_jedi_fix.yaml')
logger.debug(f"Staging JEDI fix files from {jedi_fix_list_path}")
jedi_fix_list = parse_yamltmpl(jedi_fix_list_path, self.task_config)
FileHandler(jedi_fix_list).sync()
Expand Down Expand Up @@ -208,7 +208,7 @@ def _add_fms_cube_sphere_increments(self: Analysis) -> None:
inc_template = os.path.join(self.task_config.DATA, 'anl', 'aeroinc.' + template)
bkg_template = os.path.join(self.task_config.COM_ATMOS_RESTART_PREV, template)
# get list of increment vars
incvars_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'parm_gdas', 'aeroanl_inc_vars.yaml')
incvars_list_path = os.path.join(self.task_config['HOMEgfs'], 'parm', 'gdas', 'aeroanl_inc_vars.yaml')
incvars = YAMLFile(path=incvars_list_path)['incvars']
super().add_fv3_increments(inc_template, bkg_template, incvars)

Expand Down
4 changes: 2 additions & 2 deletions ush/python/pygfs/task/atm_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ def initialize(self: Analysis) -> None:
super().initialize()

# stage CRTM fix files
crtm_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'parm_gdas', 'atm_crtm_coeff.yaml')
crtm_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'gdas', 'atm_crtm_coeff.yaml')
logger.debug(f"Staging CRTM fix files from {crtm_fix_list_path}")
crtm_fix_list = parse_yamltmpl(crtm_fix_list_path, self.task_config)
FileHandler(crtm_fix_list).sync()

# stage fix files
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'parm_gdas', 'atm_jedi_fix.yaml')
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'gdas', 'atm_jedi_fix.yaml')
logger.debug(f"Staging JEDI fix files from {jedi_fix_list_path}")
jedi_fix_list = parse_yamltmpl(jedi_fix_list_path, self.task_config)
FileHandler(jedi_fix_list).sync()
Expand Down
4 changes: 2 additions & 2 deletions ush/python/pygfs/task/atmens_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ def initialize(self: Analysis) -> None:
FileHandler({'mkdir': dirlist}).sync()

# stage CRTM fix files
crtm_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'parm_gdas', 'atm_crtm_coeff.yaml')
crtm_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'gdas', 'atm_crtm_coeff.yaml')
logger.debug(f"Staging CRTM fix files from {crtm_fix_list_path}")
crtm_fix_list = parse_yamltmpl(crtm_fix_list_path, self.task_config)
FileHandler(crtm_fix_list).sync()

# stage fix files
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'parm_gdas', 'atm_jedi_fix.yaml')
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'gdas', 'atm_jedi_fix.yaml')
logger.debug(f"Staging JEDI fix files from {jedi_fix_list_path}")
jedi_fix_list = parse_yamltmpl(jedi_fix_list_path, self.task_config)
FileHandler(jedi_fix_list).sync()
Expand Down
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/land_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def initialize(self) -> None:
FileHandler({'mkdir': dirlist}).sync()

# stage fix files
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'parm_gdas', 'land_jedi_fix.yaml')
jedi_fix_list_path = os.path.join(self.task_config.HOMEgfs, 'parm', 'gdas', 'land_jedi_fix.yaml')
logger.info(f"Staging JEDI fix files from {jedi_fix_list_path}")
jedi_fix_list = parse_yamltmpl(jedi_fix_list_path, self.task_config)
FileHandler(jedi_fix_list).sync()
Expand Down

0 comments on commit 0493371

Please sign in to comment.