clouddrift.adapters.hurdat2.to_raggedarray#
- clouddrift.adapters.hurdat2.to_raggedarray(basin: Literal['atlantic', 'pacific', 'both'] = 'both', tmp_path: str = '/tmp/clouddrift/hurdat2', convert: bool = True, skip_download: bool = False) RaggedArray[source]#
Convert the HURDAT2 dataset to a RaggedArray instance.
Parameters#
- basinstr, optional
Basin selection:
"atlantic","pacific", or"both"(default).- tmp_pathstr, optional
Path where dataset files are cached.
- convertbool, optional
If True, convert wind speed and pressure to SI units. Default is True.
- skip_downloadbool, optional
If True, skip re-downloading files that already exist in
tmp_path. Default is False.
Returns#
- RaggedArray
HURDAT2 dataset as a RaggedArray instance.