clouddrift.adapters.gdp1h.download#
- clouddrift.adapters.gdp1h.download(url: str, tmp_path: str, drifter_ids: list[int] | None = None, n_random_id: int | None = None)[source]#
Download individual NetCDF files from the AOML server.
Parameters#
- urlstr
URL from which to download the data.
- tmp_pathstr
Path to the directory where the individual NetCDF files are stored.
- drifter_idslist, optional
List of drifter to retrieve (Default: all)
- n_random_idint, optional
Randomly select n_random_id drifter IDs to download (Default: None)
Returns#
- outlist
List of retrieved drifters