clouddrift.adapters.gdp.gdp1h.preprocess

Contents

clouddrift.adapters.gdp.gdp1h.preprocess#

clouddrift.adapters.gdp.gdp1h.preprocess(index: int, **kwargs) Dataset[source]#

Extract and preprocess the Lagrangian data and attributes.

This function takes an identification number that can be used to create a file or url pattern or select data from a Dataframe. It then preprocesses the data and returns a clean Xarray Dataset.

Parameters#

indexint

Drifter’s identification number

Returns#

dsxr.Dataset

Xarray Dataset containing the data and attributes