Summary

The Geodashboard relies heavily on the measurements taken at a location. The current architecture does not assign unique ID's to measurements taken, so we use conventions to identify which values in a datapoint are actual measurements that the client wants visible. For example, inside a datapoint you can save anything. It could be this: "temperature": 98.6 but it could also be this: "Temp F": "98.6" (a different ID and a string instead of a float). Or it could even be this: "temperatures":  ["oh look, I'm an array now!", 98.6, 100.5].

This worked in the beginning, but clients are starting to ask things like:

Here is how we have done that up until now:

Then on the client we use Regex to find a QC value for each parameter. A request to the API for datapoints with parameter "temperature" doesn't return the QAQC code since it thinks "temperature-qc" is a different parameter. It isn't very robust, and the more things we want to add to a parameter, the messier this will get.

We are proposing the nesting of parameters into an array or an object so that more information can be stored within each measurement.

Current Format

 

Proposed Format

Notes:

Transition Plan

 

 

Team