Skip to content

Commit

Permalink
Fix for referring to adcirc_nonda instead of adcirc
Browse files Browse the repository at this point in the history
  • Loading branch information
Shintaro Bunya committed Mar 7, 2024
1 parent 392be4b commit 8d78be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adda/adda.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def main(args):
utilities.log.debug(f'args.met = {args.met}')

if args.met == "nhc":
tdir=f'{fw_dir}/*/adcirc/analysis/fort.63.nc'
tdir=f'{fw_dir}/*/adcirc_nonda/analysis/fort.63.nc'
urls=glob.glob(tdir, recursive = True)
if not urls:
utilities.log.info(f'Initial url list is empty in {tdir}. Exiting ADDA. Surface will be all zeros.')
Expand All @@ -103,7 +103,7 @@ def main(args):
urls2.append(os.path.join(fw_dir,u))
urls=urls2
else:
tdir=f'{fw_dir}/*/*/adcirc/analysis/fort.63.nc'
tdir=f'{fw_dir}/*/*/adcirc_nonda/analysis/fort.63.nc'
urls=glob.glob(tdir, recursive = True)
if not urls:
utilities.log.info(f'Initial url list is empty in {tdir}. Exiting ADDA. Surface will be all zeros.')
Expand Down

0 comments on commit 8d78be5

Please sign in to comment.