diff --git a/satip/utils.py b/satip/utils.py index 61a7dbcf..93a3d0fb 100644 --- a/satip/utils.py +++ b/satip/utils.py @@ -1081,6 +1081,10 @@ def collate_files_into_latest(save_dir: str, using_backup: bool = False): f"{save_dir}/latest/hrv_tmp.zarr.zip", filename, ) + new_times = xr.open_dataset(f'zip::{filename}',engine="zarr",cache=False).time + logger.debug(f'{new_times}') + + filename = f"{save_dir}/latest/latest{'_15' if using_backup else ''}.zarr.zip" logger.debug(f"Collating non-HRV files {filename}") @@ -1108,6 +1112,9 @@ def collate_files_into_latest(save_dir: str, using_backup: bool = False): filename, ) + new_times = xr.open_dataset(f'zip::{filename}',engine="zarr",cache=False).time + logger.debug(f'{new_times}') + # Cell def set_up_logging(