From f6e0e18eb98c17bdb7a2d71179d660879e7602bf Mon Sep 17 00:00:00 2001 From: AndrewEichmann-NOAA Date: Tue, 29 Oct 2024 18:57:46 +0000 Subject: [PATCH] norms --- ush/soca/prep_ocean_obs.py | 8 ++++---- ush/soca/prep_ocean_obs_utils.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ush/soca/prep_ocean_obs.py b/ush/soca/prep_ocean_obs.py index 9bee91eb9..3769d35c2 100644 --- a/ush/soca/prep_ocean_obs.py +++ b/ush/soca/prep_ocean_obs.py @@ -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 diff --git a/ush/soca/prep_ocean_obs_utils.py b/ush/soca/prep_ocean_obs_utils.py index fe34a05d3..ece91c398 100755 --- a/ush/soca/prep_ocean_obs_utils.py +++ b/ush/soca/prep_ocean_obs_utils.py @@ -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) \ No newline at end of file + return code {e.returncode}") + return e.returncode \ No newline at end of file