OceanDB.ocean_data.dataset#

class OceanDB.ocean_data.dataset.Dataset(*, name, data, dtypes, schema)#

Bases: Mapping[K, T], Generic[K, T]

Immutable, column-oriented dataset.

Represents the result of a query, ingestion step, or transformation.

Is used like a dictionary, e.g.

if 'field' in my_dataset:
    print(my_dataset['field'])
Parameters:
  • name (str)

  • data (Mapping[TypeVar(K, bound= str), TypeVar(T)])

  • dtypes (Mapping[TypeVar(K, bound= str), type])

  • schema (Mapping[TypeVar(K, bound= str), OceanDataField])

to_netcdf()#
to_xarray()#