Skip to content

Commit

Permalink
ocn to ocean (NOAA-EMC#940)
Browse files Browse the repository at this point in the history
- fixes NOAA-EMC#938
  • Loading branch information
guillaumevernieres authored Feb 28, 2024
1 parent 60c98b6 commit 992306f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scripts/exgdas_global_marine_analysis_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ def find_clim_ens(input_date):
logger.info("---------------- Stage offline ensemble members")
ens_member_list = []
clim_ens_dir = find_clim_ens(pytz.utc.localize(window_begin, is_dst=None))
nmem_ens = len(glob.glob(os.path.abspath(os.path.join(clim_ens_dir, 'ocn.*.nc'))))
for domain in ['ocn', 'ice']:
nmem_ens = len(glob.glob(os.path.join(clim_ens_dir, 'ocean.*.nc')))
for domain in ['ocean', 'ice']:
for mem in range(1, nmem_ens+1):
fname = domain+"."+str(mem)+".nc"
fname_in = os.path.abspath(os.path.join(clim_ens_dir, fname))
fname_out = os.path.abspath(os.path.join(static_ens, fname))
fname_in = os.path.join(clim_ens_dir, fname)
fname_out = os.path.join(static_ens, fname)
ens_member_list.append([fname_in, fname_out])
FileHandler({'copy': ens_member_list}).sync()
os.environ['ENS_SIZE'] = str(nmem_ens)
Expand Down
2 changes: 1 addition & 1 deletion test/soca/gw/run_jjobs.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ setup_expt config:
DO_JEDISNOWDA: "NO"
DO_MERGENSST: "NO"
NMEM_ENS: "4"
DOHYBVAR: "YES"
DOHYBVAR: "NO"
ocnanal:
SOCA_INPUT_FIX_DIR: @HOMEgfs@/sorc/gdas.cd/build/gdas/soca_static
CASE_ANL: C48
Expand Down

0 comments on commit 992306f

Please sign in to comment.