In [1]:
import pandas as pd
from erddapy import ERDDAP

e = ERDDAP(server_url='http://www.neracoos.org/erddap')

standard_name='sea_water_pressure'

search_url = e.get_search_url(response='csv', standard_name=standard_name, min_time='2017-11-01', max_time='2017-11-11')

df = pd.read_csv(search_url)
In [2]:
datasets = df['Dataset ID'].values
print(len(datasets))
print(datasets)
1
['D03_sbe_pres_all']
In [3]:
var= e.get_var_by_attr(dataset_id=datasets[0], standard_name=standard_name)
In [4]:
var
Out[4]:
[]