clouddrift.datasets.yomaha

Contents

clouddrift.datasets.yomaha#

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

Returns the YoMaHa dataset as a ragged array Xarray dataset.

The function will first look for the ragged-array dataset on the local filesystem. If it is not found, the dataset will be downloaded using the corresponding adapter function and stored for later access. The upstream data is available at http://apdrc.soest.hawaii.edu/projects/yomaha/.

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

YoMaHa’07 dataset as a ragged array

Examples#

>>> from clouddrift.datasets import yomaha
>>> ds = yomaha()
>>> ds
<xarray.Dataset>
Dimensions:     (obs: 1926743, traj: 12196)
Coordinates:
    time_d      (obs) datetime64[ns] ...
    time_s      (obs) datetime64[ns] ...
    time_lp     (obs) datetime64[ns] ...
    time_lc     (obs) datetime64[ns] ...
    id          (traj) int64 ...
Dimensions without coordinates: obs, traj
Data variables: (12/27)
    lon_d       (obs) float64 ...
    lat_d       (obs) float64 ...
    pres_d      (obs) float32 ...
    ve_d        (obs) float32 ...
    vn_d        (obs) float32 ...
    err_ve_d    (obs) float32 ...
    ...          ...
    cycle       (obs) int64 ...
    time_inv    (obs) int64 ...
    rowsize     (traj) int64 ...
    wmo_id      (traj) int64 ...
    dac_id      (traj) int64 ...
    float_type  (traj) int64 ...
Attributes:
    title:           YoMaHa'07: Velocity data assessed from trajectories of A...
    history:         Dataset updated on Tue Jun 28 03:14:34 HST 2022
    date_created:    2023-12-08T00:52:08.478075
    publisher_name:  Asia-Pacific Data Research Center
    publisher_url:   http://apdrc.soest.hawaii.edu/index.php
    license:         Creative Commons Attribution 4.0 International License..

Reference#

Lebedev, K. V., Yoshinari, H., Maximenko, N. A., & Hacker, P. W. (2007). Velocity data assessed from trajectories of Argo floats at parking level and at the sea surface. IPRC Technical Note, 4(2), 1-16.