https://github.com/GLEON/LakeMetabolizer/blob/master/man/metab.bayesian.Rd#L59
- k.gas needs to be divided by the number of obs per day
- wnd[,2] needs to be scaled to wind at 10m
k.gas needs to be scaled to the size of the time step. Right now that's the K in units of m/day, needs to be m/5 minute or w/e. Just divide by the number of time steps per day.
I have some functions I've been using to calculate the size of a time step. There are a couple ways someone could go about doing this (different time step sizes for obs, or just 1 for the whole time series?).
Either way, I think this example is wrong as-is. There might be other errors.
https://github.com/GLEON/LakeMetabolizer/blob/master/man/metab.bayesian.Rd#L59
k.gas needs to be scaled to the size of the time step. Right now that's the K in units of m/day, needs to be m/5 minute or w/e. Just divide by the number of time steps per day.
I have some functions I've been using to calculate the size of a time step. There are a couple ways someone could go about doing this (different time step sizes for obs, or just 1 for the whole time series?).
Either way, I think this example is wrong as-is. There might be other errors.