Click here to run and play with examples online !
In this repo, we'll show some use cases of the Argo data ERDDAP API hosted by Ifremer:
http://www.ifremer.fr/erddap/tabledap/ArgoFloats.html
Argo dataset ID: ArgoFloats
Argo reference dataset ID: argo_reference
Information about Argo dataset:
List of all available datasets: http://www.ifremer.fr/erddap/tabledap/index.html
You can run and edit example notebooks by running this repo on Binder (thanks Pangeo):
We develop high level helper methods to load Argo data that is available for the Ifremer erddap server.
The argopy
library is still in active development.
Usage to fetch Argo data from the erddap:
from argopy import DataFetcher as ArgoDataFetcher
argo_loader = ArgoDataFetcher()
argo_loader = ArgoDataFetcher(backend='erddap')
argo_loader = ArgoDataFetcher(cachedir='tmp')
argo_loader.profile(6902746, 34).to_xarray()
argo_loader.profile(6902746, np.arange(12,45)).to_xarray()
argo_loader.profile(6902746, [1,12]).to_xarray()
argo_loader.float(6902746).to_xarray()
argo_loader.float([6902746, 6902747, 6902757, 6902766]).to_xarray()
argo_loader.float([6902746, 6902747, 6902757, 6902766], CYC=1).to_xarray()
argo_loader.region([-85,-45,10.,20.,0,1000.]).to_xarray()
argo_loader.region([-85,-45,10.,20.,0,1000.,'2012-01','2014-12']).to_xarray()
1 float all data: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.htmlTable?&platform_number=%226902636%22
Active Coriolis Floats since a given date: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.htmlTable?data_center,project_name,pi_name,platform_number&data_center=%22IF%22&time%3E=%222017-03-01T12:00:00Z%22&pres%3C=10&pres%3E=9&distinct()&orderBy(%22project_name%22)
1 float cycle temperature profile: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.graph?temp%2Cpres%2Cpsal%2Ccycle_number&platform_number=%226902766%22&cycle_number%3E=9&direction=%22A%22&distinct()&orderBy(%22cycle_number%22)&.draw=markers&.marker=3%7C5&.color=0xFFFFFF&.colorBar=Rainbow2%7CD%7C%7C34%7C37%7C&.yRange=0%7C2000%7Cfalse&.bgColor=fff
Deployment position of ALL Argo floats: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.csv?longitude,latitude,time,project_name&cycle_number=1
Deployment position of ALL Argo floats after a given date: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.csv?longitude,latitude,time,project_name&cycle_number=1&time>="2016-03-14T12:00:00Z"
All argo data with temperature between 17 and 19 degC: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.htmlTable?&temp%3E=17&temp%3C=19
List of positions of 1 float data with temperature between 17 and 19 degC: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.htmlTable?longitude%2Clatitude%2Ctime&platform_number=%226902636%22&temp%3E=17&temp%3C=19&orderBy(%22time%22)
Figure with positions of 1 float data with temperature between 17 and 19 degC: (simply replace .htmlTable by .graph) http://www.ifremer.fr/erddap/tabledap/ArgoFloats.htmlTable?longitude%2Clatitude%2Ctime&platform_number=%226902636%22&temp%3E=17&temp%3C=19&orderBy(%22time%22)
Depth (pressure) of the 17-19degC layer since Jan. 2017: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.largePng?longitude%2Clatitude%2Cpres&pres%3E=300&time%3E=2017-01-01T00%3A00%3A00Z&temp%3E=17&temp%3C=19&latitude%3E=10&latitude%3C=50&longitude%3E=-90&longitude%3C=0&distinct()&.draw=markers&.marker=7%7C3&.color=0x000000&.colorBar=ReverseRainbow%7CD%7C%7C300%7C600%7C&.bgColor=0xffccccff
Depth (pressure) of the 17-19degC layer for last winter: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.graph?longitude%2Clatitude%2Cpres&pres%3E=250&temp%3E=17&temp%3C=19&psal%3E=36.4&psal%3C=36.6&latitude%3E=20&latitude%3C=45&longitude%3E=-81&longitude%3C=-40&time%3E=2016-12-01T00%3A00%3A00Z&time%3C=2017-03-31T00%3A00%3A00Z&distinct()&.draw=markers&.marker=7%7C6&.color=0x000000&.colorBar=ReverseRainbow%7CD%7C%7C300%7C600%7C&.bgColor=0xffccccff
EDW outcropping area temperature time series: http://www.ifremer.fr/erddap/tabledap/ArgoFloats.graph?time%2Ctemp%2Cpsal&time%3E=2015-09-01T00%3A00%3A00Z&longitude%3E=-60&longitude%3C=-50&latitude%3E=32.5&latitude%3C=37.5&pres%3E=40&pres%3C=60&temp%3E=15&.draw=markers&.marker=5%7C5&.color=0x000000&.colorBar=%7C%7C%7C36.3%7C36.7%7C&.bgColor=0xffccccff