Skip to content

Commit 907a4c5

Browse files
authored
Update gdp6h function docstring and dataset URL for July 2024 version (#568)
* Update gdp6h function docstring and dataset URL for July 2024 version * lint formatting
1 parent 5ad22d0 commit 907a4c5

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

clouddrift/datasets.py

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ def gdp6h(decode_times: bool = True) -> xr.Dataset:
9393
Oceanographic and Meteorological Laboratory (AOML) accessible at
9494
https://www.aoml.noaa.gov/phod/gdp/index.php.
9595
96+
This returns the July 2024 version of the dataset including data from 1979-02-15:00:00:00Z
97+
to 2024-08-16:12:00:00Z.
98+
9699
Parameters
97100
----------
98101
decode_times : bool, optional
@@ -111,45 +114,45 @@ def gdp6h(decode_times: bool = True) -> xr.Dataset:
111114
>>> ds = gdp6h()
112115
>>> ds
113116
<xarray.Dataset> Size: 2GB
114-
Dimensions: (traj: 27647, obs: 46535470)
117+
Dimensions: (traj: 28341, obs: 48044996)
115118
Coordinates:
116-
id (traj) int64 221kB ...
117-
time (obs) datetime64[ns] 372MB ...
119+
id (traj) int64 227kB ...
120+
time (obs) datetime64[ns] 384MB ...
118121
Dimensions without coordinates: traj, obs
119-
Data variables: (12/49)
120-
BuoyTypeManufacturer (traj) |S20 553kB ...
121-
BuoyTypeSensorArray (traj) |S20 553kB ...
122-
CurrentProgram (traj) float64 221kB ...
123-
DeployingCountry (traj) |S20 553kB ...
124-
DeployingShip (traj) |S20 553kB ...
125-
DeploymentComments (traj) |S20 553kB ...
126-
... ...
127-
start_lon (traj) float32 111kB ...
128-
temp (obs) float32 186MB ...
129-
typebuoy (traj) |S10 276kB ...
130-
typedeath (traj) int8 28kB ...
131-
ve (obs) float32 186MB ...
132-
vn (obs) float32 186MB ...
122+
Data variables: (12/48)
123+
BuoyTypeManufacturer (traj) <U1 113kB ...
124+
BuoyTypeSensorArray (traj) <U10 1MB ...
125+
CurrentProgram (traj) float64 227kB ...
126+
DeployingCountry (traj) <U14 2MB ...
127+
DeployingShip (traj) <U20 2MB ...
128+
DeploymentComments (traj) <U20 2MB ...
129+
... ...
130+
start_lon (traj) float32 113kB ...
131+
temp (obs) float32 192MB ...
132+
typebuoy (traj) |S10 283kB ...
133+
typedeath (traj) int8 28kB ...
134+
ve (obs) float32 192MB ...
135+
vn (obs) float32 192MB ...
133136
Attributes: (12/18)
134-
Conventions: CF-1.6
135-
acknowledgement: Lumpkin, Rick; Centurioni, Luca (2019). NOAA Global...
136-
contributor_name: NOAA Global Drifter Program
137-
contributor_role: Data Acquisition Center
138-
date_created: 2024-04-04T13:44:01.176967
139-
doi: 10.25921/7ntx-z961
140-
... ...
141-
publisher_name: GDP Drifter DAC
142-
publisher_url: https://www.aoml.noaa.gov/phod/gdp
143-
summary: Global Drifter Program six-hourly data
144-
time_coverage_end: 2023-10-18:18:00:00Z
145-
time_coverage_start: 1979-02-15:00:00:00Z
146-
title: Global Drifter Program drifting buoy collection
137+
Conventions: CF-1.6
138+
acknowledgement: Lumpkin, Rick; Centurioni, Luca (2019). NOAA Global...
139+
contributor_name: NOAA Global Drifter Program
140+
contributor_role: Data Acquisition Center
141+
date_created: 2025-07-03T13:33:40.973074
142+
doi: 10.25921/7ntx-z961
143+
... ...
144+
publisher_name: GDP Drifter DAC
145+
publisher_url: https://www.aoml.noaa.gov/phod/gdp
146+
summary: Global Drifter Program six-hourly data
147+
time_coverage_end: 2024-08-16:12:00:00Z
148+
time_coverage_start: 1979-02-15:00:00:00Z
149+
title: Global Drifter Program drifting buoy collection
147150
148151
See Also
149152
--------
150153
:func:`gdp1h`
151154
"""
152-
url = "https://noaa-oar-hourly-gdp-pds.s3.amazonaws.com/experimental/gdp6h_ragged_sep23.zarr"
155+
url = "https://noaa-oar-hourly-gdp-pds.s3.amazonaws.com/experimental/gdp6h_ragged_jul24.zarr"
153156
ds = xr.open_dataset(url, decode_times=decode_times, engine="zarr")
154157
return ds
155158

0 commit comments

Comments
 (0)