alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Fix treatment of units #245

Closed mhauru closed 6 months ago

mhauru commented 6 months ago

Sensor measures should be identified by a name and a unit, e.g. "temperature" and "Kelvin". This is how the database enforces it, but the backend API is inconsistent, with some API endpoints behaving correctly, but others only taking in or returning a measure name ("temperature") without a unit. This needs fixing.