get_data
Observations for one variable, filtered by box, time, station, cruise, height and quality control. Returns at most max_rows rows as a table, the total, a download URL for the whole selection, and the citation the user must be given with any use of the data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | a variable id from search_variables | |
| end | No | ISO date or datetime, EXCLUSIVE | |
| start | No | ISO date or datetime, inclusive (2025-01-01) | |
| cruise | No | cruise expocodes, a list or a string; ocean observation tables only | |
| lat_max | No | ||
| lat_min | No | ||
| lon_max | No | ||
| lon_min | No | ||
| station | No | station ids -- a list, or one id (or several, comma-separated) as a string; CASE-SENSITIVE: HTM150 (trigram + sampling height) for atmosphere, SE-Htm for FLUXNET sites | |
| apply_qc | No | DEFAULT TRUE: drop the observations the store's recommended quality control rejects; false keeps every observation, flagged ones included | |
| max_rows | No | rows to return; the whole selection is at download_url | |
| height_max | No | ||
| height_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | No | ||
| rows | Yes | ||
| columns | Yes | ||
| citation | Yes | ||
| truncated | Yes | ||
| rows_total | Yes | rows in the whole selection, when known | |
| download_url | Yes | the selection as CSV when it fits one download; when it does not, the FIRST of download_urls | |
| download_urls | No | when the selection is larger than one download (the proxy caps an answer at 500,000 rows): one CSV link per time window, together the WHOLE selection -- give the user all of them | |
| rows_returned | Yes | ||
| download_complete | No | false when no set of links could be planned to cover the whole selection; the note says what is missing |