Skip to content

Commit

Permalink
tested bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed Apr 22, 2024
1 parent 1994f17 commit 5ab4c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/soca/gw/run_jjobs.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ setup_expt config:
NICAS_RESOL: 1
NICAS_GRID_SIZE: 150
prepoceanobs:
SOCA_INPUT_FIX_DIR: @HOMEgfs@/sorc/gdas.cd/build/gdas/soca_static
SOCA_OBS_LIST: @HOMEgfs@/sorc/gdas.cd/parm/soca/obs/obs_list.yaml
OBSPREP_YAML: @HOMEgfs@/sorc/gdas.cd/parm/soca/obsprep/obsprep_config.yaml
DMPDIR: @HOMEgfs@/sorc/gdas.cd/build/gdas/test/soca/gw/obsprep
Expand Down
4 changes: 2 additions & 2 deletions ush/soca/prep_ocean_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def initialize(self):
SOCA_INPUT_FIX_DIR = self.config['SOCA_INPUT_FIX_DIR']
ocean_mask_src = os.path.join(SOCA_INPUT_FIX_DIR, 'RECCAP2_region_masks_all_v20221025.nc')
ocean_mask_dest = os.path.join(self.runtime_config.DATA, 'RECCAP2_region_masks_all_v20221025.nc')
logger.info(f"************ {SOCA_INPUT_FIX_DIR}")

try:
FileHandler({'copy': [[ocean_mask_src, ocean_mask_dest]]}).sync()
except OSError:
logger.warning("Could not copy RECCAP2_region_masks_all_v20221025.nc")

OBS_YAML = self.config['OBS_YAML']
observer_config = YAMLFile(OBS_YAML)

Expand Down

0 comments on commit 5ab4c7d

Please sign in to comment.