Skip to content

Commit

Permalink
Fix KeyError issue in ocean/ice postprocessing job. (NOAA-EMC#2398)
Browse files Browse the repository at this point in the history
The jjob for ocean and ice pp, only defines the component specific
history and grib directory. This causes an error in the exscript trying
to pull keys for both ocean and ice. Fix this. Surprised this has not
caused failures before today

Co-authored-by: David Huber <69919478+DavidHuber-NOAA@users.noreply.github.com>
  • Loading branch information
aerorahul and DavidHuber-NOAA authored Mar 14, 2024
1 parent c27f243 commit 906540a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/exglobal_oceanice_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def main():

# Pull out all the configuration keys needed to run the rest of steps
keys = ['HOMEgfs', 'DATA', 'current_cycle', 'RUN', 'NET',
'COM_OCEAN_HISTORY', 'COM_OCEAN_GRIB',
'COM_ICE_HISTORY', 'COM_ICE_GRIB',
f'COM_{oceanice.task_config.component.upper()}_HISTORY', f'COM_{oceanice.task_config.component.upper()}_GRIB'
'APRUN_OCNICEPOST',
'component', 'forecast_hour', 'valid_datetime', 'avg_period',
'model_grid', 'product_grids', 'oceanice_yaml']
Expand Down

0 comments on commit 906540a

Please sign in to comment.