Closed RussTreadon-NOAA closed 7 months ago
As a test, make the following changes in a working copy of GDASApp develop
bufr2ioda_insitu_*profile*
python scripts in ush/ioda/bufr2ioda
are renamed bufr2ioda_insitu_profile_$OBTYPE.py
where OBTYPE
is argo, bathy, etc.bufr2ioda_insitu_profile*py
scripts
bufrfile = f"{cycle_datetime}-{cycle_type}.t{hh}z.{data_format}.tm00.bufr_d"
DATA_PATH = os.path.join(dump_dir, bufrfile)
+ if not os.path.isfile(DATA_PATH):
+ logger.info(f"DATA_PATH {DATA_PATH} does not exist")
+ return
logger.debug(f"{bufrfile}, {DATA_PATH}")
A similar check is found in other bufr2ioda converters.
Rerun gfs and gdas prepatmiodaobs. Both jobs ran to completion for 20240224 00Z. The bufrfile check caught several instances of non-existent dump files.
2024-03-28 20:46:22,269 - INFO - bufr2ioda_insitu_marinemammals_profiles.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.tesac.tm00.bufr_d does not exist
2024-03-28 20:46:22,270 - INFO - bufr2ioda_insitu_profiles_argo.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.subpfl.tm00.bufr_d does not exist
2024-03-28 20:46:22,270 - INFO - bufr2ioda_insitu_profiles_tesac.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.tesac.tm00.bufr_d does not exist
2024-03-28 20:46:22,273 - INFO - bufr2ioda_insitu_profile_bathy.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.bathy.tm00.bufr_d does not exist
2024-03-28 20:46:22,274 - INFO - bufr2ioda_insitu_surface_altkob.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.altkob.tm00.bufr_d does not exist
2024-03-28 20:46:22,276 - INFO - bufr2ioda_insitu_profiles_glider.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.subpfl.tm00.bufr_d does not exist
2024-03-28 20:46:22,280 - INFO - bufr2ioda_insitu_surface_trkob.py: DATA_PATH /work/noaa/rstprod/dump/2024022400-gdas.t00z.trkob.tm00.bufr_d does not exist
That these dump files do not exist is not surprising. These dump files are not routinely stored in the GDA.
My fault @RussTreadon-NOAA , I'm going to move the marine converters somewhere else.
The gfs and gdas prepatmioda jobs fail for 20240224 00Z in g-w C96C48_ufs_hybatmDA testing.
Examination of the log files found that the job was trying to access a non-existent file
File
/work2/noaa/da/rtreadon/git/global-workflow/test/parm/gdas/ioda/bufr2ioda/bufr2ioda_insitu_profiles_argo.json
does not exist. The actual name of the file isbufr2ioda_insitu_profile_argo.json
. There is no s in profile.Script
ush/ioda/bufr2ioda/run_bufr2ioda.py
constructs observation specific filenames using the name of the bufr2ioda python script inush/ioda/bufr2ioda
. Given this, we need to ensure consistency between the names of the converter scripts inush/ioda/bufr2ioda
and json files inparm/ioda/bufr2ioda
.