diff --git a/.vscode/launch.json b/.vscode/launch.json index 324ee04..db045e5 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -358,7 +358,7 @@ // Plankitvore deployment for CeNCOOS Syncro - whole month of April 2025 //"args": ["-v", "1", "--auv_name", "ahi", "--start", "20250401T000000", "--end", "20250502T000000", "--noinput", "--num_cores", "1", "--no_cleanup"] // Fails with ValueError: different number of dimensions on data and dims: 2 vs 1 for wetlabsubat_digitized_raw_ad_counts variable - "args": ["-v", "1", "--log_file", "pontus/missionlogs/2025/20250604_20250616/20250608T020852/202506080209_202506081934.nc4", "--no_cleanup"] + "args": ["-v", "1", "--log_file", "pontus/missionlogs/2025/20250604_20250616/20250608T020852/202506080209_202506081934.nc4", "--no_cleanup", "--clobber"] // Full month of June 2025 for Pontus with WetLabsUBAT Group data //"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup"] //"args": ["-v", "1", "--auv_name", "pontus", "--start", "20250601T000000", "--end", "20250702T000000", "--noinput", "--num_cores", "1", "--no_cleanup", "--clobber"] diff --git a/src/data/archive.py b/src/data/archive.py index d1d745a..5a549fc 100755 --- a/src/data/archive.py +++ b/src/data/archive.py @@ -233,7 +233,7 @@ def copy_to_LRAUV(self, log_file: str, freq: str = FREQ) -> None: # noqa: C901, "%-75s exists, but is not being archived because --clobber is not specified.", src_file.name, ) - for ftype in (f"{freq}.nc", "combined.nc", "align.nc"): + for ftype in (f"{freq}.nc", "combined.nc4", "align.nc4"): src_file = Path(src_dir, f"{Path(log_file).stem}_{ftype}") dst_file = Path(dst_dir, src_file.name) if self.clobber: