Skip to content

Instantly share code, notes, and snippets.

@ksonda
Created July 9, 2024 03:24
Show Gist options
  • Save ksonda/532dab3c8a6b4dc41d7597842f7efa0a to your computer and use it in GitHub Desktop.
Save ksonda/532dab3c8a6b4dc41d7597842f7efa0a to your computer and use it in GitHub Desktop.
{
"type": "CoverageCollection",
"domainType": "PointSeries",
"parameters": {
"discharge": {
"type": "Parameter",
"description": {"en":"Water discharge in cubic feet per second"},
"observedProperty": {
"label": {"en":"Discharge"},
"id": "http://waterdata.usgs.gov/nwisweb/rdf?parmCd=00060"
},
"unit": {
"label": {"en":"cubic feet per second"},
"symbol": "ft3/s"
}
},
"gageHeight": {
"type": "Parameter",
"description": {"en":"Gage height in feet"},
"observedProperty": {
"label": {"en":"Gage height"},
"id": "http://waterdata.usgs.gov/nwisweb/rdf?parmCd=00065"
},
"unit": {
"label": {"en":"feet"},
"symbol": "ft"
}
}
},
"coverages": [
{
"type": "Coverage",
"domain": {
"type": "Domain",
"domainType": "PointSeries",
"axes": {
"x": {
"values": [
-79.0955556
]
},
"y": {
"values": [
36.0711111
]
},
"t": {
"values": [
"2024-06-09",
"2024-06-10",
"2024-06-11",
"2024-06-12",
"2024-06-13",
"2024-06-14",
"2024-06-15",
"2024-06-16",
"2024-06-17",
"2024-06-18",
"2024-06-19",
"2024-06-20",
"2024-06-21",
"2024-06-22",
"2024-06-23",
"2024-06-24",
"2024-06-25",
"2024-06-26",
"2024-06-27",
"2024-06-28",
"2024-06-29",
"2024-06-30",
"2024-07-01",
"2024-07-02",
"2024-07-03",
"2024-07-04",
"2024-07-05",
"2024-07-06",
"2024-07-07"
]
}
},
"referencing": [
{
"coordinates": [
"x",
"y"
],
"system": {
"type": "GeographicCRS",
"id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
}
},
{
"coordinates": [
"t"
],
"system": {
"type": "TemporalRS",
"calendar": "Gregorian"
}
}
]
},
"ranges": {
"discharge": {
"type": "NdArray",
"dataType": "float",
"axisNames": [
"t"
],
"shape": [
29
],
"values": [
12.6,
12.3,
9.63,
9.69,
8.22,
7.55,
10.6,
10.5,
10.0,
8.77,
8.9,
9.06,
8.08,
7.7,
7.97,
6.56,
6.4,
5.8,
5.3,
5.33,
4.9,
4.98,
5.7,
5.89,
5.2,
4.68,
4.64,
4.95,
5.68
]
},
"gageHeight": {
"type": "NdArray",
"dataType": "float",
"axisNames": [
"t"
],
"shape": [
29
],
"values": [
1.74,
1.73,
1.66,
1.66,
1.62,
1.6,
1.69,
1.68,
1.67,
1.64,
1.64,
1.64,
1.61,
1.6,
1.61,
1.56,
1.56,
1.53,
1.51,
1.52,
1.5,
1.5,
1.53,
1.54,
1.51,
1.49,
1.49,
1.5,
1.52
]
}
}
},
{
"type": "Coverage",
"domain": {
"type": "Domain",
"domainType": "PointSeries",
"axes": {
"x": {
"values": [
-79.066
]
},
"y": {
"values": [
35.92230556
]
},
"t": {
"values": [
"2024-06-09",
"2024-06-10",
"2024-06-11",
"2024-06-12",
"2024-06-13",
"2024-06-14",
"2024-06-15",
"2024-06-16",
"2024-06-17",
"2024-06-18",
"2024-06-19",
"2024-06-20",
"2024-06-21",
"2024-06-22",
"2024-06-23",
"2024-06-24",
"2024-06-25",
"2024-06-26",
"2024-06-27",
"2024-06-28",
"2024-06-29",
"2024-06-30",
"2024-07-01",
"2024-07-02",
"2024-07-03",
"2024-07-04",
"2024-07-05",
"2024-07-06",
"2024-07-07"
]
}
},
"referencing": [
{
"coordinates": [
"x",
"y"
],
"system": {
"type": "GeographicCRS",
"id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
}
},
{
"coordinates": [
"t"
],
"system": {
"type": "TemporalRS",
"calendar": "Gregorian"
}
}
]
},
"ranges": {
"discharge": {
"type": "NdArray",
"dataType": "float",
"axisNames": [
"t"
],
"shape": [
29
],
"values": [
0.66,
0.73,
0.64,
0.59,
0.58,
0.54,
0.52,
0.46,
0.45,
0.45,
0.4,
0.4,
0.38,
0.38,
0.37,
0.36,
0.32,
0.3,
0.31,
0.3,
0.27,
0.28,
0.39,
0.29,
0.2,
0.19,
0.2,
1.2,
7.07
]
},
"gageHeight": {
"type": "NdArray",
"dataType": "float",
"axisNames": [
"t"
],
"shape": [
29
],
"values": [
1.44,
1.45,
1.44,
1.43,
1.42,
1.42,
1.41,
1.4,
1.4,
1.4,
1.39,
1.39,
1.38,
1.38,
1.38,
1.38,
1.37,
1.36,
1.36,
1.36,
1.35,
1.36,
1.38,
1.36,
1.33,
1.33,
1.33,
1.5,
1.7
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment