diff --git a/echopype/convert/api.py b/echopype/convert/api.py index 33e04f0ef..0a9d81b4e 100644 --- a/echopype/convert/api.py +++ b/echopype/convert/api.py @@ -313,7 +313,7 @@ def open_raw( xml_path: Optional["PathHint"] = None, convert_params: Optional[Dict[str, str]] = None, storage_options: Optional[Dict[str, str]] = None, - destination_path: Optional[str] = None, + destination_path: Optional[str] = "auto", destination_storage_options: Optional[Dict[str, str]] = None, max_chunk_size: str = "100MB", ) -> Optional[EchoData]: @@ -384,11 +384,6 @@ def open_raw( echosounders: EK60, ES70, EK80, ES80, EA640. Additionally, this feature is currently in beta. """ - - # Set initial destination_path of "no_swap" - if destination_path is None: - destination_path = "no_swap" - if raw_file is None: raise FileNotFoundError("The path to the raw data file must be specified.") diff --git a/echopype/convert/parse_base.py b/echopype/convert/parse_base.py index 13dc90357..6c7628bcb 100644 --- a/echopype/convert/parse_base.py +++ b/echopype/convert/parse_base.py @@ -10,9 +10,10 @@ import zarr from dask.array.core import auto_chunks +from ..utils.io import create_temp_zarr_store from ..utils.log import _init_logger from .utils.ek_raw_io import RawSimradFile, SimradEOF -from .utils.ek_swap import calc_final_shapes, create_temp_store +from .utils.ek_swap import calc_final_shapes FILENAME_DATETIME_EK60 = ( "(?P.+)?-?D(?P\\w{1,8})-T(?P