-
Notifications
You must be signed in to change notification settings - Fork 2
/
Example4.json
32 lines (32 loc) · 1.09 KB
/
Example4.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"server": {
"id": "Example4",
"contact": "rweigel@gmu.edu",
"HAPI": "2.0"
},
"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_inline":
[
{
"id": "dataset1",
"title": "Simple dataset generated by Python",
"info_command": "cat $HAPISERVERPATH/metadata/Example4/dataset1_info.json"
},
{
"id": "dataset2",
"title": "Simple dataset generated by Python",
"info_command": "cat $HAPISERVERPATH/metadata/Example4/dataset1_info.json"
}
]
}