Customer specific unit of measure library
Today you can associate a standardized unit of measure (CogniteUnit) to both timeseries and a property in a container (column and not cell level), allowing for unit conversion on consumption. This is a very powerful feature that we want to use as much as possible.
However, the current unit library is a common library shared by all CDF clients. The unit catalogue is open sources, which means we can propose new units, but there are some downsides to this:
- The cycle time from when we submit a pull request till it is available in CDF is pretty long. We need this to be A LOT quicker
- We have several situations where there are differences in how the units are defined. Typical examples are from dimensionless units, where the origin of the dimensionless property is important. Example are: relative mass rate and relative volume rate are very different, even though their UOM is dimensionless in both situations. For these situations, the CogniteUnit is used both for unit conversion (may want to convert between fraction and percent, or Sm3/Sm3 to scf/Sbbl), and for a unique understanding of what it represent (relative mass vs relative volume).
- Standard conditions is not uniquely defined and may vary between disciplines
- Alias list for UOM may be company specific (we see alias crash in the current library)
- I do not believe we will reach the “complete list” of units any time soon. Many of the units categories are pretty standard, like pressure and temperature, but we have an “infinite” number of derived units coming from calculations, and I do not see that we exhaust this any time soon, so the time it takes to add new will be an issue for a long time
The only solution we see to this problem is to allow for company specific UOM catalogue. We need a way for us to define UOM and conversion factors and have CDF prefer those to the default settings. This will both solve the “deployment of new unit time” and the conflict in interpretation of the more non-standard UOMs
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support
