resize_zarr¶
- HSTB.kluster.xarray_helpers.resize_zarr(zarrpth, finaltimelength=None)¶
Takes in the path to a zarr group and resizes the time dimension according to the provided finaltimelength
- Parameters
zarrpth (
str) – path to a zarr group on the filesystemfinaltimelength (
Optional[int]) – new length for the time dimension