In principle, we know how many days have passed between two measurements from a measured data file (except for the first measurement each year).
load_measured_data already calculates this in order to determine cBM from the given dBM.
If we
[ ] store this value in the returned data.frames of load_measured_data
we can later use this to automatically determine an appropriate smoothing interval when simulated and measured data are compared (e.g. when plotting or when evaluating model performance).
We could also
[ ] factor out the functionality that calculates cBM (and soon the time intervals in-between measurements) from load_measured_data into a separate functions, so it can be accessed from other places (where, though?).
Smoothing is a delicate data operation and should not be left to behind-the-scenes automation based on non-obvious assumptions. Leave it to the user to decide how to smooth.
In principle, we know how many days have passed between two measurements from a measured data file (except for the first measurement each year).
load_measured_data
already calculates this in order to determinecBM
from the givendBM
.If we
load_measured_data
we can later use this to automatically determine an appropriate smoothing interval when simulated and measured data are compared (e.g. when plotting or when evaluating model performance).We could also
cBM
(and soon the time intervals in-between measurements) fromload_measured_data
into a separate functions, so it can be accessed from other places (where, though?).See also #25 .