Skip to content

Instantly share code, notes, and snippets.

@mwengren
Created March 26, 2021 15:24
Show Gist options
  • Save mwengren/77b28049c33bd6914af699a76dd84f3f to your computer and use it in GitHub Desktop.
Save mwengren/77b28049c33bd6914af699a76dd84f3f to your computer and use it in GitHub Desktop.
An example covjson point measurement with three variables
{
"type": "Coverage",
"domain": {
"type": "Domain",
"domainType": "Point",
"axes": {
"x": {
"values": [-70]
},
"y": {
"values": [40]
},
"z": {
"values": [1]
},
"t": {
"values": ["2021-03-26T04:00:00Z"]
}
},
"referencing": [{
"coordinates": ["x", "y"],
"system": {
"type": "GeographicCRS",
"id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
}
}, {
"coordinates": ["z"],
"system": {
"type": "VerticalCRS",
"id": "http://www.opengis.net/def/crs/EPSG/0/5703"
}
}, {
"coordinates": ["t"],
"system": {
"type": "TemporalRS",
"calendar": "Gregorian"
}
}]
},
"parameters": {
"temperature": {
"type": "Parameter",
"unit": {
"symbol": "°C"
},
"observedProperty": {
"label": {
"en": "Air temperature"
}
}
},
"wind_speed": {
"type": "Parameter",
"unit": {
"symbol": "kts"
},
"observedProperty": {
"label": {
"en": "Wind speed"
}
}
},
"air_pressure": {
"type": "Parameter",
"unit": {
"symbol": "mmHg"
},
"observedProperty": {
"label": {
"en": "Barometric Pressure"
}
}
}
},
"ranges": {
"temperature": {
"type": "NdArray",
"dataType": "float",
"values": [26.4]
},
"wind_speed": {
"type": "NdArray",
"dataType": "float",
"values": [15.1]
},
"air_pressure": {
"type": "NdArray",
"dataType": "float",
"values": [30.01]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment