argopy.fetchers.ArgoDataFetcher#
- class ArgoDataFetcher(mode: str = '', src: str = '', ds: str = '', **fetcher_kwargs)[source]#
Fetcher and post-processor of Argo data (API facade)
- Parameters:
mode (str, optional) ā User mode. Eg:
standardorexpert. 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 fetcher creation of each access points.
Examples
>>> from argopy import DataFetcher >>> adf = DataFetcher().region([-75, -65, 10, 20]).load() >>> idx.plot() >>> idx.data
- __init__(mode: str = '', src: str = '', ds: str = '', **fetcher_kwargs)[source]#
Create a fetcher instance
- Return type:
Methods
__init__([mode,Ā src,Ā ds])Create a fetcher instance
Clear data cached by fetcher
dashboard(**kw)Open access point dashboard.
float()Float data fetcher
load([force])Fetch data (and compute a profile index) if not already in memory
plot([ptype])Create custom plots from this fetcher data or index.
profile()Profile data fetcher
region()Space/time domain data fetcher
to_dataframe(**kwargs)Fetch and return data as pandas.Dataframe
to_index([full,Ā coriolis_id])Create a profile index of Argo data, fetch data if necessary
to_xarray(**kwargs)Fetch and return data as xarray.DataSet
Attributes