You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TODO: move this to a separate tutorial page focused on using curl
92
+
-->
93
+
76
94
The source files behind the data are available for downloading through the API. By executing a series
77
95
of requests against the API it's possible to determine the files of interest and then download them.
78
96
@@ -82,7 +100,7 @@ to see how then end of the URL changes depending upon the reuqest.
82
100
83
101
Below is what the API looks like as a URL. Try pasting it into your browser.
84
102
85
-
https://terraref.ncsa.illinois.edu/clowder/api/geostreams/sensors?sensor_name=MAC Field Scanner Season 1 Field Plot 101 W
103
+
[https://terraref.ncsa.illinois.edu/clowder/api/geostreams/sensors?sensor_name=MAC Field Scanner Season 1 Field Plot 101 W](https://terraref.ncsa.illinois.edu/clowder/api/geostreams/sensors?sensor_name=MAC Field Scanner Season 1 Field Plot 101 W)
86
104
87
105
This will return data for the requested plot including its id. This id (or identifier) can then be used for
88
106
additional queries against the API.
@@ -93,6 +111,8 @@ to retrieve its data.
93
111
94
112
## A Word of Caution
95
113
114
+
We are no longer using the python terrautils package, which is a python library that provides helper functions that simplify interactions with the Clowder API. One of the ways it makes the interface easier is by using function names that make sense in the scope of the project. The API and the Clowder database have different names and _this is confusing_ since the same names are used for different parts of the database.
115
+
96
116
The names and meanings of variables in this section don't necessarily match the ones in the section
97
117
above and it may be easy to get them confused. The API queries the database directly and thereby reflects
98
118
the database structure. This is the main reason for the naming differences between the API and the terraref
0 commit comments