From 8d78be5d2c2a1d1581dbbfc7b31b26e5072e0ea4 Mon Sep 17 00:00:00 2001 From: Shintaro Bunya Date: Thu, 7 Mar 2024 09:04:02 -0500 Subject: [PATCH] Fix for referring to adcirc_nonda instead of adcirc --- adda/adda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adda/adda.py b/adda/adda.py index d84b463..713f471 100755 --- a/adda/adda.py +++ b/adda/adda.py @@ -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.') @@ -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.')