clouddrift.adapters.gdp.parse_directory_file#
- clouddrift.adapters.gdp.parse_directory_file(filename: str, tmp_path: str, skip_download: bool = False) DataFrame[source]#
Read a GDP directory file that contains metadata of drifter releases.
Parameters#
- filenamestr
Name of the directory file to parse.
- tmp_pathstr
Directory where the file is cached locally.
- skip_downloadbool, optional
If True, skip re-downloading the file if it already exists in
tmp_path. Default is False.
Returns#
- dfpd.DataFrame
List of drifters from a single directory file as a pandas DataFrame.