ERDDAP Data Server

There are two ways to find a dataset in ERDDAP.

  1. Search by Server Types "ERDDAP" from the data page and then use the link of the desired dataset.




    For example, for "Argo", click link and click data on "Argo Float Data (Dapper)" row.
  2. Select ERDDAP under Servers in the menus.
    Click "View a List of All 12 Datasets"




    For example, click data on "Argo Float Data (Dapper)" row.

ERDDAP dataset page

ERDDAP with Python or MATLAB

Python (external link) is a widely-used computer language that is very popular among scientists.
In addition to the Pydap Client, you can use Python to download various files from ERDDAP
as you would download other files from the web:

import urllib  urllib.urlretrieve
("http://baseurl/erddap/tabledap/datasetID.fileType?query",
"outputFileName")
Or download the content to an object instead of a file:
import urllib2  response = urllib2.open
("http://baseurl/erddap/tabledap/datasetID.fileType?query")
theContent = response.read()

APDRC example in Python tutorial page.

MATLAB (external link) .mat (external link) - Matlab users can use tabledap's .mat file type to download data from within
MATLAB. Here is a one line example:

load(
urlwrite('http://coastwatch.pfeg.noaa.gov/erddap/tabledap/
pmelTaoDySst.mat?time,T_25&station="0n0e"
&time>=2015-05-23T12:00:00Z&time<=2015-05-31T12:00:00Z
&.draw=lines', 'test.mat'));
The data will be in a MATLAB structure. The structure's name will be the datasetID
(for example, pmelTaoDySst).
The structure's internal variables will be column vectors with the same names
as in ERDDAP (for example, use fieldnames(pmelTaoDySst)).
You can then make a scatterplot of any two columns. For example:
plot(pmelTaoDySst.time, pmelTaoDySst.T_25)

ERDDAP stores datetime values in .mat files as "seconds since 1970-01-01T00:00:00Z".
To display one of these values as a String in Matlab, you can use, e.g.,

datestr(pmelTaoDySst.time(1)/86400 + 719529)

86400 converts ERDDAP's "seconds since" to Matlab's "days since". 719529 converts
ERDDAP's base time of "1970-01-01T00:00:00Z" to Matlab's "0000-01-00T00:00:00Z".

APDRC exampe in MATLAB tutorial page.