Giter Site home page Giter Site logo

waynegitshell / gwsdat Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 7.0 71.89 MB

GroundWater Spatiotemporal Data Analysis Tool (GWSDAT) R-Shiny implementation.

Home Page: https://stats-glasgow.shinyapps.io/GWSDAT

R 99.89% JavaScript 0.11%
contamination-detection groundwater-flow plume shiny spatio-temporal-analysis

gwsdat's People

Contributors

andrejadd avatar craigalexander avatar csgillespie avatar waynegitshell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gwsdat's Issues

Display Spatial Contour Plot inside Shiny.

Needs adaptions to the panel variables, similar to the smooth time-series plot.

Think:

Which variables are shared and can go outside the plot function call, e.g. the 'DRV' variables?

Get rid of TclTK panel (rp.control) for Shiny, but not Stand-Alone.

The function rp.control() creates the panel variable and a TK window. This is the basic call to create the TclTK window panel:

panel = rp.control(title = "", size = c(100, 100), panelname, background, ...)

Right now all the drawing related variables (DRV) are passed directly to this function (in the "..." part).
For Shiny I would not need rp.control. Instead only an object that holds all DRV, e.g.

DRV$Cont.Data
DRV$Well
etc.

To make it combatible with Stand-Alone I could pass this 'DRV' object to rp.control():

# Stand-Alone (TclTK)
panel = rp.control(title = "", size = c(100, 100), panelname, background, DRV)
# panel$DRV to access drawing stuff

and with Shiny I could just assign it directly to panel.

# Shiny
panel = 0
panel$DRV = DRV

Ommit plot() execution in GWSDAT_INIT().

These plots() are done while fitting. This is not necessary.

As long as GWSDAT_INIT() is not called inside a renderPlot() function, this isn't a problem, but still it is unnecessary overhead that might lead to problems on the server side.

Add 'Data Aggregate' List box. Change Time Steps accordingly.

This requires to recall the aggregate data code located inside "GWSDAT Input Data.R".

Parse the code for the bits used for aggregation and make separate function that is called in the beginning (Init) and whenever the 'Data Aggregate' List box changes.

What is needed to run MakeSmoothPlot() on its own.

Right now it fails, the 'panel' object misses data (shadow.jjj, e.g.).

  1. When the smooth panel in the main window is created it uses GWSDATpnl.
  2. When this panel is ckicked it uses click.makeSmoothPanel(panel)

However, panel != GWSDATpnl.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.