Skip to content

Commit

Permalink
norms
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewEichmann-NOAA committed Oct 29, 2024
1 parent 0d88531 commit f6e0e18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ush/soca/prep_ocean_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ def initialize(self):
# netcdf files respectively
if obsprep_space['type'] == 'bufr':
bufrconv_config = {'RUN': RUN,
'current_cycle': cdate,
'DMPDIR': COMIN_OBS,
'COM_OBS': COMIN_OBS,
'OCEAN_BASIN_FILE': OCEAN_BASIN_FILE}
'current_cycle': cdate,
'DMPDIR': COMIN_OBS,
'COM_OBS': COMIN_OBS,
'OCEAN_BASIN_FILE': OCEAN_BASIN_FILE}
obsprep_space['conversion config file'] = ioda_config_file
bufr2iodapy = BUFR2IODA_PY_DIR + '/bufr2ioda_' + obtype + '.py'
obsprep_space['bufr2ioda converter'] = bufr2iodapy
Expand Down
4 changes: 2 additions & 2 deletions ush/soca/prep_ocean_obs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ def run_bufr_to_ioda(obsspace_to_convert):
return 0
except subprocess.CalledProcessError as e:
logger.warning(f"bufr2ioda converter failed with error >{e}<, \
return code {output.returncode}")
return(output.returncode)
return code {e.returncode}")
return e.returncode

0 comments on commit f6e0e18

Please sign in to comment.