From 8506ec6977c53018a100fd4881c296016a7df630 Mon Sep 17 00:00:00 2001 From: Cory Martin Date: Thu, 27 Apr 2023 15:48:47 -0400 Subject: [PATCH] Two minor bugfixes (#1542) Found some odd bugs in the aerosol DA changes that need to be fixed to work properly. Not sure how they worked before with testing (by luck?) but these are straightforward fixes to implement. one has a missing / in a path for FileHandler and the other has a missing .nc causing files to not be found --- parm/parm_gdas/aero_crtm_coeff.yaml | 2 +- ush/python/pygfs/task/aero_analysis.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parm/parm_gdas/aero_crtm_coeff.yaml b/parm/parm_gdas/aero_crtm_coeff.yaml index e60fc422f2..d310ff6d31 100644 --- a/parm/parm_gdas/aero_crtm_coeff.yaml +++ b/parm/parm_gdas/aero_crtm_coeff.yaml @@ -1,7 +1,7 @@ mkdir: - $(DATA)/crtm/ copy: -- [$(FV3JEDI_FIX)/crtm/$(crtm_VERSION)/AerosolCoeff.bin, $(DATA)crtm/] +- [$(FV3JEDI_FIX)/crtm/$(crtm_VERSION)/AerosolCoeff.bin, $(DATA)/crtm/] - [$(FV3JEDI_FIX)/crtm/$(crtm_VERSION)/CloudCoeff.bin, $(DATA)/crtm/] - [$(FV3JEDI_FIX)/crtm/$(crtm_VERSION)/v.viirs-m_npp.SpcCoeff.bin, $(DATA)/crtm/] - [$(FV3JEDI_FIX)/crtm/$(crtm_VERSION)/v.viirs-m_npp.TauCoeff.bin, $(DATA)/crtm/] diff --git a/ush/python/pygfs/task/aero_analysis.py b/ush/python/pygfs/task/aero_analysis.py index 8c692e22d6..6918a01b8c 100644 --- a/ush/python/pygfs/task/aero_analysis.py +++ b/ush/python/pygfs/task/aero_analysis.py @@ -186,7 +186,7 @@ def finalize(self: Analysis) -> None: # ---- move increments to ROTDIR logger.info('Moving increments to ROTDIR') - template = f'aeroinc.{to_fv3time(self.task_config.current_cycle)}.fv_tracer.res.tile{{tilenum}}' + template = f'aeroinc.{to_fv3time(self.task_config.current_cycle)}.fv_tracer.res.tile{{tilenum}}.nc' inclist = [] for itile in range(1, self.task_config.ntiles + 1): tracer = template.format(tilenum=itile)