-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathExample10.json
22 lines (22 loc) · 978 Bytes
/
Example10.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"server": {
"id": "Example10",
"contact": "rweigel@gmu.edu",
"HAPI": "2.0",
"landingFile": "$HAPISERVERPATH/node_modules/hapi-server-ui/single.htm",
"landingPath": "$HAPISERVERPATH/node_modules/hapi-server-ui/"
},
"data": {
"command": "\"$PYTHONEXE\" \"$HAPISERVERPATH/bin/Example.py\" --id ${id} --params ${parameters} --start ${start} --stop ${stop} --fmt ${format}",
"formats": ["csv","binary"],
"contact": "rweigel@gmu.edu",
"testcommands": [
{"command": "\"$PYTHONEXE\" \"$HAPISERVERPATH/bin/Example.py\" --params scalar --start 1970-01-01T00:00:00.000000000Z --stop 1970-01-01T00:10:00.000000000Z","Nlines": 10}
],
"testurls": [
{"url": "data/?id=dataset1¶meters=scalar&time.min=1970-01-01T00:00Z&time.max=1970-01-01T00:10Z", "Nlines": 10},
{"url": "data/?id=dataset1¶meters=scalar&time.min=1970-12-31T23:50Z&time.max=1971-01-01Z", "Nlines": 10}
]
},
"catalog_command": "cat $HAPISERVERPATH/metadata/Example5/catalog.json"
}