Git Product home page Git Product logo

marineco2errorpropagation's Introduction

Error-space diagram for the marine CO2 system

This is an interactive application that displays the error-space diagram for a selected output variable (e.g. CO3) calculated from an input measurement pair (e.g. pCO2 and DIC). Default values for other input variables (uncertainty in measurement pair, salinity, temperature, pressure and concentrations of phosphorous and silicon) are modifiable with the user interface.

The calculations are performed using the functions in the R-based seacarb repository.

The application is hosted here: https://katirg.shinyapps.io/marineco2errorpropagation

alt tag

####Requires

  • R This app uses version 3.4.3
  • Shiny

marineco2errorpropagation's People

Contributors

katirg avatar jamesorr avatar

Stargazers

Brita Irving avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

jamesorr

marineco2errorpropagation's Issues

Change title

Please change the title of this work to 'Error-space diagram for the marine CO2 system" (in the README and at the top of the page of this github archive, before the listing of files). The current version of those 2 titles are too much like the title of my manuscript that I gave you. That manuscript introduces the error-space diagram but that is not its only concern.

Indicate that propagated error is the "Relative percent error"

Cathy,
It should be indicated, perhaps in the title of the plot (or in a figure legend) that the error that is shown in the relative percent error. That is, it is 100 times the ratio of the absolute error divided by the value of the computed variable.

expand Help page

  • provide a few contour level example R commands
  • highlight a plot and explain the story it tells

Reference point - allow users to enter vectors into the 2 boxes for coordinates

When the user specifies the reference point coordinates, could you allow those boxes to take vectors e.g., c(1, 2,3) and c(2,4,6)? Currently, only 1 reference point is shown except when pH is s member (2 reference points). I just tried putting vectors into the 2 boxes that specify the Reference point coordinates, but it doesn't work. That is because in the original code I did not have this functionality in mind. There will have to be a bit of recoding to add this feature, but it should be straightforward.

For this, the two coordinate boxes for the reference point should have the same number of members, -unlike the current cases when pH is a member of the input pair.

Allow user to change epK (vector of errors in pK0, pK1, pK2, pKb, pKw, pKa, pKc, Bt)

We talked about doing this earlier. Perhaps you could add another check box "Edit input errors in pK's".

Beware though that the epK used in derivnum.R and errors.R will change so that the last error (the relative error in Bt) is taken out, reducing epK from 8 to 7 members; instead eBt will be added as a separate argument to the errors routine, with a default of 0.01.

Thus you should probably wait on this modification until the new versions of errors.R and derivnum.R are available, proabably within 30 days.

add checkbox & input box to allow users to change default errors in epK vector

Hi Cathy,

Users would find this suggested feature useful, especially advanced ones who want to alter these vaules. The checkbox should have the label 'Change default uncertainties for constants (epK0, epK1, epK2, epKb, epKw, epKspa, epKspc, eBt)'.

If you don't have time for this, i could perhaps give it a try, make a test, and issue a Pull Request.

Thanks!

James

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.