/
Example2.json
63 lines (63 loc) · 2.68 KB
/
Example2.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"server": {
"id": "Example2",
"contact": "rweigel@gmu.edu",
"HAPI": "2.0"
},
"data": {
"command": "\"$PYTHONEXE\" \"$HAPISERVERPATH/bin/Example.py\" --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},
{"command": "\"$PYTHONEXE\" \"$HAPISERVERPATH/bin/Example.py\" --params scalar --start 1970-01-01T00:00:00.000000000Z --stop 1970-01-01T00:01:00.000000000Z --fmt binary","Nbytes": 28},
{"command": "\"$PYTHONEXE\" \"$HAPISERVERPATH/bin/Example.py\" --params scalar --start 1970-01-01T00:00:00.000000000Z --stop 1970-01-01T00:01:00.000000000Z --fmt binary","md5sum": "d4892a064a8ccd4dcfd189053e69d974"}
],
"testurls": [
{"url": "data/?id=dataset1¶meters=vector&time.min=1970-01-01T00:00Z&time.max=1970-01-01T00:10Z", "Nlines": 10},
{"url": "data/?id=dataset1¶meters=vector&time.min=1970-12-31T23:50Z&time.max=1971-01-01Z", "Nlines": 10},
{"url": "data/?id=dataset1¶meters=vector&time.min=1970-01-01T00:00Z&time.max=1970-01-01T00:10Z&include=header", "Nlines": 10},
{"url": "data/?id=dataset1¶meters=scalar&time.min=1970-01-01T00:00:00.000000000Z&time.max=1970-01-01T00:01:00.000000000Z&format=binary", "Nbytes": 28}
]
},
"catalog_inline":
[
{
"id": "dataset1",
"title": "Documentation Example",
"info":
{
"startDate": "1970-01-01Z",
"stopDate" : "1971-01-01Z",
"sampleStartDate": "1970-01-01Z",
"sampleStopDate" : "1970-01-01T00:10Z",
"cadence": "PT1M",
"parameters":
[
{
"name": "Time",
"type": "isotime",
"units": "UTC",
"fill": null,
"length": 20
},
{
"name": "scalar",
"type": "double",
"units": "m",
"fill": "-1e31",
"description": "Minutes since 1970-01-01"
},
{
"name": "vector",
"type": "double",
"units": "m",
"fill": "-1e31",
"size": [3],
"description": "Minutes since 1970-01-01 + i, where i is vector index component 1,2, or 3."
}
]
}
}
]
}