clouddrift.datasets.gdp6h

Contents

clouddrift.datasets.gdp6h#

clouddrift.datasets.gdp6h(decode_times: bool = True) Dataset[source]#

Returns the NOAA Global Drifter Program (GDP) 6-hourly dataset as a ragged array Xarray dataset.

The data is accessed from zarr archive hosted on a public AWS S3 bucket accessible at s3://noaa-oar-hourly-gdp-pds/experimental/. Original data source from NOAA’s Atlantic Oceanographic and Meteorological Laboratory (AOML) accessible at https://www.aoml.noaa.gov/phod/gdp/index.php.

This returns the December 2024 version of the dataset including data from 1979-02-15:00:00:00Z to 2025-01-20:00:00:00Z.

Parameters#

decode_timesbool, optional

If True, decode the time coordinate into a datetime object. If False, the time coordinate will be an int64 or float64 array of increments since the origin time indicated in the units attribute. Default is True.

Returns#

xarray.Dataset

6-hourly GDP dataset as a ragged array

Examples#

>>> from clouddrift.datasets import gdp6h
>>> ds = gdp6h()
>>> ds
<xarray.Dataset> Size: 2GB
Dimensions:                (traj: 28341, obs: 48044996)
Coordinates:
    id                     (traj) int64 227kB ...
    time                   (obs) datetime64[ns] 384MB ...
Dimensions without coordinates: traj, obs
Data variables: (12/48)
    BuoyTypeManufacturer   (traj) <U1 113kB ...
    BuoyTypeSensorArray    (traj) <U10 1MB ...
    CurrentProgram         (traj) float64 227kB ...
    DeployingCountry       (traj) <U14 2MB ...
    DeployingShip          (traj) <U20 2MB ...
    DeploymentComments     (traj) <U20 2MB ...
    ...                     ...
    start_lon              (traj) float32 113kB ...
    temp                   (obs) float32 192MB ...
    typebuoy               (traj) |S10 283kB ...
    typedeath              (traj) int8 28kB ...
    ve                     (obs) float32 192MB ...
    vn                     (obs) float32 192MB ...
Attributes: (12/18)
    Conventions:          CF-1.6
    acknowledgement:      Lumpkin, Rick; Centurioni, Luca (2019). NOAA Global...
    contributor_name:     NOAA Global Drifter Program
    contributor_role:     Data Acquisition Center
    date_created:         2025-07-03T13:33:40.973074
    doi:                  10.25921/7ntx-z961
    ...                   ...
    publisher_name:       GDP Drifter DAC
    publisher_url:        https://www.aoml.noaa.gov/phod/gdp
    summary:              Global Drifter Program six-hourly data
    time_coverage_end:    2024-08-16:12:00:00Z
    time_coverage_start:  1979-02-15:00:00:00Z
    title:                Global Drifter Program drifting buoy collection

See Also#

gdp1h()