WayneGitShell / GWSDAT

GroundWater Spatiotemporal Data Analysis Tool (GWSDAT) R-Shiny implementation.
https://stats-glasgow.shinyapps.io/GWSDAT
31 stars 7 forks source link

getFullPlumeStats() fails for Comprehensive Example/Nitrate. #123

Open andrejadd opened 7 years ago

andrejadd commented 7 years ago

For the comprehensive Example, Nitrate, 10ug/l threshold, 25% ground porosity. I get the following errors: (Only shown in console, not output)

QH6114 qhull precision error: initial simplex is not convex. Distance=-1.9e-12

Error in delaunayn(eval.df[, c("XCoord", "YCoord")]) : Received error code 2 from qhull.

Warning in contourLines(predicted_val, levels = plume_thresh) : all z values are NA

andrejadd commented 7 years ago

Catching the error with try(.., silent = T), warnings still appear.

Produces warnings with contourLines() so failure of delaunay might have to be remembered to avoid later warnings.