VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

Adding Sap flow variable #16

Closed mmaelicke closed 4 years ago

mmaelicke commented 4 years ago

Closes #10

Actually, the unit of sap flow needs to be converted to follow the metacatalog unit logic.

I see three options here: a) always transform data to given unit and integrate by time interval between observations. This could be bad, because we change the data and cannot handle gaps properly. Without gaps, data would become more comparable. b) we keep the unit as it is but do not transform the data. Then any kind of flux in metacatalog is always interpreted as integrated between timesteps in the unit of the variable. So the unit would be per second, but the data integrated to 10min, because the time step in 10min. The uploader would have to assure correctness of data. c) We add a new sap flow variable with a new unit (different temporal integration window) with each dataset that uses different time steps.

I think b) is the only realistic option and need to document this properly.