API reference
Contents
API reference¶
This page provides an auto-generated summary of argopy’s API. For more details and examples, refer to the relevant chapters in the main part of the documentation.
Top-levels functions¶
Fetchers¶
alias of |
|
alias of |
Fetcher access points¶
Space/time domain data fetcher |
|
Float data fetcher |
|
Profile data fetcher |
Space/time domain index fetcher |
|
Float index fetcher |
|
Profile index fetcher |
Fetcher methods¶
|
Fetch data (and compute an index) if not already in memory |
|
Fetch and return data as xarray.DataSet |
|
Fetch and return data as pandas.Dataframe |
|
Create an index of Argo data, fetch data if necessary |
|
Load index in memory |
|
Fetch and return index data as xarray DataSet |
|
Fetch and return index data as pandas Dataframe |
|
Fetch and save index data as csv in a file |
Data visualisation¶
|
Create custom plots from data |
|
Create custom plots from index |
|
Insert the Euro-Argo dashboard page in a notebook cell |
Fetcher properties¶
List of resources to load for a request |
|
Data structure |
|
Index structure, as returned by the to_index method |
|
Index structure |
Helpers¶
alias of |
|
|
Fetch topographic data through an ERDDAP server for an ocean rectangle |
|
Set options for argopy |
|
Delete argopy cache folder content |
|
Open a dataset from the argopy online data repository (requires internet). |
Low-level functions¶
|
Print the versions of argopy and its dependencies |
List all available data sources |
|
List all available data sources |
|
List all available index sources |
Dataset.argo (xarray accessor)¶
Class registered under scope |
This accessor extends xarray.Dataset
. Proper use of this accessor should be like:
>>> import xarray as xr # first import xarray
>>> import argopy # import argopy (the dataset 'argo' accessor is registered)
>>> from argopy import DataFetcher
>>> ds = DataFetcher().float([6902766, 6902772, 6902914, 6902746]).load().data
>>> ds.argo
>>> ds.argo.filter_qc()
Data Transformation¶
Transform a collection of points into a collection of profiles |
|
Convert a collection of profiles to a collection of points |
|
|
Interpolate measurements to standard pressure levels |
|
Group measurements by pressure bins |
Data Filters¶
|
Filter data set according to QC values |
|
Filter variables according to their data mode |
|
Filter variables according to OWC salinity calibration software requirements |
Processing¶
|
Add TEOS10 variables to the dataset |
|
Preprocess data for OWC software calibration |
Misc¶
|
UID encoder/decoder |
Make sure variables are of the appropriate types according to Argo |
Internals¶
File systems¶
|
Argo local file system |
|
Argo http file system |
|
Argo in-memory file system |
|
Use to manage access to a local Argo index and searches |
|
Index filter based on WMO and/or CYCLE_NUMER |
Index filter based on LATITUDE, LONGITUDE, DATE |
Fetcher sources¶
ERDDAP¶
|
Manage access to Argo data through Ifremer ERDDAP |
Manage access to Argo data through Ifremer ERDDAP for: a list of WMOs |
|
Manage access to Argo data through Ifremer ERDDAP for: an ocean rectangle |
Local FTP¶
|
Manage access to Argo data from a local copy of GDAC ftp |
Manage access to local ftp Argo data for: a list of WMOs |
|
Manage access to local ftp Argo data for: a rectangular space/time domain |
Plotters¶
|
|
|
|
|
Insert the Euro-Argo dashboard page in a notebook cell |
|
Insert the CLS Satellite Altimeter Report figure in notebook cell |