-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathExample7.json
More file actions
22 lines (22 loc) · 1.1 KB
/
Example7.json
File metadata and controls
22 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"server": {
"id": "Example7",
"contact": "rweigel@gmu.edu",
"HAPI": "2.0",
"catalog-update": 10
},
"data": {
"command": "curl -s \"http://hapi-server.org/servers/TestData2.0/hapi/data?id=${{id}}¶meters=${{parameters}}&time.min=${start}&time.max=${stop}&format=${format}\"",
"formats": ["csv","binary","json"],
"contact": "rweigel@gmu.edu",
"testcommands": [
{"command": "curl -s \"http://hapi-server.org/servers/TestData2.0/hapi/data?id=dataset1¶meters=scalar&time.min=1970-01-01Z&time.max=1970-01-01T00:00:10Z&format=csv\"","Nlines": 10},
{"command": "curl -s \"http://hapi-server.org/servers/TestData2.0/hapi/data?id=dataset1¶meters=scalar&time.min=1970-01-01T00:00:10Z&time.max=1970-01-01T00:00:20Z&format=csv\"","Nlines": 0}
],
"testurls": [
{"url": "data/?id=dataset1¶meters=scalar&time.min=1970-01-01T00:00:00Z&time.max=1970-01-01T00:00:10Z", "Nlines": 10},
{"url": "data/?id=dataset1¶meters=scalar&time.min=1970-01-01T00:00:10Z&time.max=1970-01-01T00:00:20Z", "Nlines": 0}
]
},
"catalog_url" : "http://hapi-server.org/servers/TestData2.0/hapi/catalog"
}