clouddrift.adapters.yomaha.to_raggedarray

Contents

clouddrift.adapters.yomaha.to_raggedarray#

clouddrift.adapters.yomaha.to_raggedarray(tmp_path: str | None = None, skip_download: bool = False) RaggedArray[source]#

Convert the YoMaHa’07 dataset to a RaggedArray instance.

Parameters#

tmp_pathstr, optional

Path where the dataset files are cached. Defaults to a platform-specific temporary directory.

skip_downloadbool, optional

If True, skip re-downloading files that already exist in tmp_path. The main data file (yomaha07.dat.gz) is skipped when its decompressed version already exists locally. Default is False.

Returns#

RaggedArray

YoMaHa’07 dataset as a ragged array.