Skip to content

Commit

Permalink
Two minor bugfixes (#1542)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
CoryMartin-NOAA committed Apr 27, 2023
1 parent 5f66da9 commit 8506ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parm/parm_gdas/aero_crtm_coeff.yaml
Original file line number Diff line number Diff line change
@@ -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/]
Expand Down
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/aero_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8506ec6

Please sign in to comment.