forked from gunnarleffler/hydroJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhydroJSON.json
68 lines (67 loc) · 2.74 KB
/
hydroJSON.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
64
65
66
67
68
{
"STATION1": {//AKA Location ID
"name": "string",
"responsibility": "code or description of responsible office/database",
"coordinates": {
"latitude": "float",
"longitude": "float",
"datum": "string"
},
"HUC": "Numeric HUC Code",
"NIDID":"string", //optional, the national inventory of dams ID number if the location is a dam
"NID Owner":"string", //optional, the NID owner string (CENAE = Corps of Engineers, New England District)
"elevation": {
"value": "float",
"accuracy": "float",
"datum": "string",
"units": "string", //the units(ft or m) for the elevation, in MSL
"method": "string (full explanation)"
},
"timezone": "string, full name US/Pacific",
"tz_offset": "string, -08:00 like the tail end of the ISO-8601", //optional
"time_format": "strftime/ISO-8601",
"active_flag": "character T/F",
"location_type": "string e.g. Reservoir or streamgage", //API Call in CWMSdd
"location_kind_id" : "string", //The CWMS Kind ID (Project, lock, Turbine, etc.) Not to be confused with location_types, which are non-domained
"URL_Local": "string", //URL of the local WM page for this location
"URL_National": "string", //URL to the national DB WM page for this location
"timeseries":{
"TS_ID1": {
"values": [
[
"TIMESTAMP", //convention for timestamps, will return an integer if applicable otherwise a string
"VALUE", //float
"QUALITY" //Could be a string, integer, list, or "hash" specified below
],
[
"TIMESTAMP",
"VALUE",
"QUALITY"
]
],
"site_quality": [ //Optional could be a sparse timeseries
[
"TIMESTAMP",
"VALUE"
],
[
"TIMESTAMP",
"VALUE"
]
],
"hash": "string md5", //hash of the timeseries, optional
"quality_type": "string",
"parameter": "",
"duration": "", //interval over which the duration applies
"interval": "", //nominal frequency
"units": "",
"count": "integer", //count of values in the timeseries
"min_value": "float", //a timeslice e.g. [timestamp,value]
"max_value": "float", //a timeslice e.g. [timestamp,value]
"start_timestamp": "TIMESTAMP",
"end_timestamp": "TIMESTAMP"
}
}
}
}
}