Skip to content

2 Errors in metab.bayesian() example #30

@rBatt

Description

@rBatt

https://github.com/GLEON/LakeMetabolizer/blob/master/man/metab.bayesian.Rd#L59

  1. k.gas needs to be divided by the number of obs per day
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions