Open YanickNdepo opened 3 years ago
Implies a work on the ORM. Potential difficulty is that we would wish the field to be a dictionary e.g. {'Benzene': {'value': 1.52, 'units': 'µg/l'}}
it's possible to store a dict in the striplog data field (example below): Interval(top=2, base=3, components=[samples[1]], data={'Benzene': {'value': 1.52, 'units': 'µg/l'}}),
The idea is to store pollution data (pollutant and concentration) like a dictionary in striplog.interval with the field 'data'.