argopy.DataFetcher.load

DataFetcher.load(force: bool = False, **kwargs)

Load data in memory

Apply the default to_xarray() and to_index() methods and store results in memory. Access loaded measurements structure with the data and index properties:

ds = ArgoDataFetcher().profile(6902746, 34).load().data
# or
df = ArgoDataFetcher().float(6902746).load().index
Parameters
force: bool

Force loading, default is False.

Returns
argopy.fetchers.ArgoDataFetcher.float

Data fetcher with data and index properties in memory