-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with plotDurationUncertainty() function #8
Comments
I urge you to come up with a truly minimal example next time. It caused so much hassle to make gdal work on my unbuntu and to install terra and all the other dependencies of your ChamberProc master branch. You have to invest the work to reduce your example that does require to install all those dependencies.
The problem with the example is that with the specified minimum duration (124) there are not enough records to determine the leverage of influencial records at the start (after tLag) or at the end (in function I updated RespChamberProc in branch With using the default (adapted in durationplot2) it avoids the error:
|
Thanks a lot. I am trying to adapt the function plotDurationUncertainty() for use with multiple chunks and to use the Coefficient of Variance (CV = sd/mean) instead of the sd as criterium to define the optimal measurement time window. If I run this adapted function with the sample data provided here: https://github.com/michaelstrupler/ChamberProc/blob/master/inst/genData/issue8_duration.rds I get the following error:
|
I found the solution, forgot to add "ungroup()" at the end of dsChunk creation....all ok now :) |
If I use the function "plotDurationUncertainty()" for another gas than the standard (which is CO2), I get the follwoing error (below), which I don't understand, because the "by" argument in the sequence is positive and between min and max. Please find a MWE attached.
MWE_plotDurationUncertainty.R.zip
The text was updated successfully, but these errors were encountered: