mao_merge_45m.merge module#
- merge(path_correlator_zarr: Path, path_merged_zarr: Optional[Path] = None, *, path_accelerometer_zarr: Optional[Path] = None, path_weather_zarr: Optional[Path] = None, path_antenna_zarr: Optional[Path] = None, path_sam45_zarr: Optional[Path] = None, interpolation: str = 'linear', time_offset: int = 0, overwrite: bool = False, progress: bool = False) Path [source]#
Merge Zarr files of measured data into a single Zarr file.
- Parameters
path_correlator_zarr (Path) – Path of the correlator Zarr file.
path_merged_zarr (Optional[Path]) – Path of the merged Zarr file.
path_accelerometer_zarr (Optional[Path]) – Path of the accelerometer Zarr file.
path_weather_zarr (Optional[Path]) – Path of the weather Zarr file.
path_antenna_zarr (Optional[Path]) – Path of the antenna Zarr file.
path_sam45_zarr (Optional[Path]) – Path of the SAM45 Zarr file.
interpolation (str) – Method of interpolation of log data.
time_offset (int) – Offset time in units of ms to add to correlator data
overwrite (bool) – Whether to overwrite the merged Zarr file if exists.
progress (bool) – Whether to show a progress bar.
- Returns
Path of the merged Zarr file.
- Raises
FileExistsError – Raised if the merged Zarr file exists and overwriting is not allowed (default).
- Return type
Path