argopy.fetchers.ArgoDataFetcher

class ArgoDataFetcher(mode: str = '', src: str = '', ds: str = '', **fetcher_kwargs)[source]

Fetcher and post-processor of Argo data (API facade)

__init__(mode: str = '', src: str = '', ds: str = '', **fetcher_kwargs)[source]

Create a fetcher instance

Parameters
mode: str, optional

User mode. Eg: standard or expert. Set to OPTIONS[‘mode’] by default if empty.

src: str, optional

Source of the data to use. Eg: erddap. Set to OPTIONS[‘src’] by default if empty.

ds: str, optional

Name of the dataset to load. Eg: phy. Set to OPTIONS[‘dataset’] by default if empty.

**fetcher_kwargs: optional

Additional arguments passed on data source instance creation of each access points.

Returns
argopy.fetchers.ArgoDataFetcher

Methods

__init__([mode, src, ds])

Create a fetcher instance

clear_cache()

Clear data cached by fetcher

dashboard(**kw)

float()

load([force])

Load data in memory

plot([ptype])

Create custom plots from data

profile()

region()

to_dataframe(**kwargs)

Fetch and return data as pandas.Dataframe

to_index([full])

Create an index of Argo data

to_xarray(**kwargs)

Fetch and return data as xarray.DataSet

Attributes

data

Data structure

index

Index structure, as returned by the to_index method

uri

List of resources to load for a request