@@ -10,7 +10,7 @@ from the workbench or Globus.
1010## Getting started
1111
1212After installing terrautils, you should be able to import the ` products ` module.
13- ``` {python}
13+ ``` {python eval=FALSE }
1414from terrautils.products import get_sensor_list, unique_sensor_names
1515from terrautils.products import get_file_listing, extract_file_paths
1616```
@@ -29,7 +29,7 @@ a plot id number. The utility function `unique_sensor_names` accpets the
2929sensor list and provides a list of names suitable for use in the
3030` get_file_listing ` function.
3131
32- ``` {python}
32+ ``` {python eval=FALSE }
3333sensors = get_sensor_list(None, url, key)
3434names = unique_sensor_names(sensors)
3535```
@@ -48,7 +48,7 @@ The geostreams API can be used to get a list of datasets that overlap a
4848specific plot boundary and, optionally, limited by a time range. Iterating
4949over the datasets allows the paths to all the files to be extracted.
5050
51- ``` {python}
51+ ``` {python eval=FALSE }
5252sensor = 'Thermal IR GeoTIFFs Datasets'
5353sitename = 'MAC Field Scanner Season 1 Field Plot 101 W'
5454datasets = get_file_listing(None, url, key, sensor, sitename)
@@ -58,7 +58,7 @@ files = extract_file_paths(datasets)
5858Datasets can be further filtered using the * since* and * until* parameters
5959of ` get_file_listing ` with a date string.
6060
61- ``` {python}
61+ ``` {python eval=FALSE }
6262dataset = get_file_listing(None, url, key, sensor, sitename,
6363 since='2016-06-01', until='2016-06-10')
6464```
@@ -131,7 +131,7 @@ curl -o datasets.json -X GET "https://terraref.ncsa.illinois.edu/clowder/api/geo
131131After the call succeeds, a file named * datasets.json* is created containing the returned JSON onject. As part of the
132132JSON object there are one or more ` properties ` fields containing * source_dataset* parameters.
133133
134- ``` {python }
134+ ``` {javascript eval=FALSE }
135135properties: {
136136 dataset_name: "Thermal IR GeoTIFFs - 2016-05-09__12-07-57-990",
137137 source_dataset: "https://terraref.ncsa.illinois.edu/clowder/datasets/59fc9e7d4f0c3383c73d2905"
@@ -160,7 +160,7 @@ curl -o files.json -X GET "${SOURCE_DATASET}/files"
160160As before, we will have a file containing the returned JSON, named * files.json* in this case. The returned JSON consists of a list
161161of the files in the dataset with their IDs, and other data if available:
162162
163- ``` {python }
163+ ``` {javascript eval=FALSE }
164164[
165165 {
166166 size: "346069",
0 commit comments