WayneGitShell / GWSDAT

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

Error in plotSpatialImage with Aggregation period of 'year'. #180

Closed andrejadd closed 6 years ago

andrejadd commented 6 years ago

(Year is disabled for this reason)

Error in cbind(B, b[[3]]) : number of rows of matrices must match (see arg 2) Warning: Error in if: missing value where TRUE/FALSE needed Stack trace (innermost first): 104: plotSpatialImage_main [D:\1_Arbeit\1_GWSDAT\3_Shiny_Dev\GWSDAT/R/plotSpatialImage.R#64] 103: plotSpatialImage [D:\1_Arbeit\1_GWSDAT\3_Shiny_Dev\GWSDAT/R/plotSpatialImage.R#23] 102: renderPlot [D:\1_Arbeit\1_GWSDAT\3_Shiny_Dev\GWSDAT/R/server.R#304] 92: 81: plotObj 80: origRenderFunc 79: output$image_plot 4: 3: do.call 2: print.shiny.appobj 1:

andrejadd commented 6 years ago

This was due to wrong timepoint input to plot function. Fixed this.