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 |
|
Open access point dashboard. |
|
Create custom plots from index |
|
Insert an Argo dashboard page in a notebook cell, or return the corresponding url |
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 index sources |
|
|
Return a |
|
Return a list of URL |
|
Argo Reference Tables |
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 (global) |
|
Argo ftp file system |
Argo index store#
|
Legacy Argo index store. |
|
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 |
GDAC#
Manage access to Argo data from a remote GDAC FTP. |
|
Manage access to GDAC ftp Argo data for: a list of WMOs. |
|
Manage access to GDAC ftp Argo data for: a rectangular space/time domain. |
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 |
Argovis#
Plotters#
|
Insert an Argo dashboard page in a notebook cell, or return the corresponding url |
|
|
|
|
|
Insert the CLS Satellite Altimeter Report figure in notebook cell |
Utilities#
|
Validate a WMO option and returned it as a list of integers |
|
Validate a CYC option and returned it as a list of integers |
|
|
|
A list manager can that validate item type |
List of variables for standard users |
|
List of variables in a netcdf multiprofile file. |
|
|
To chunk fetcher requests |