Pandora-IsoMemo / DSSM

Pandora & IsoMemo spatiotemporal modeling (DSSM)
https://pandora-isomemo.github.io/DSSM/
GNU General Public License v3.0
4 stars 1 forks source link

Constant interpolation modelling option for spherical coordinates (AverageR and TimeR) #221

Open arunge opened 2 months ago

arunge commented 2 months ago

@mgross Please let me know, when you start working on the following planed feature:

For models AverageR and TimeR: Constant interpolation modelling option for spherical coordinates

Possibly we can split the task, let me know which inputs you require and what kind of output we need to display. I will create the user inputs and the output and you can provide the code for the calculation. For this, please:

Your provided code should contain:

  1. a file with example input data (.csv or .xlsx) or an R script containing a dataframe/list with example input data
  2. an R script containing a function for the calculation. Please add the documentation for the parameters of the function.
    • please name all required functions and libraries that are used for the calculation
  3. a file containing the expected output (.csv or xlsx file or an R script containing the expected dataframe/list)

Note on error handling: In order to throw errors please include conditions inside your code, e.g.

if (<some invalid condition>) stop("<Some error message>")

if (<some condition where the user should receive a warning>) warning("<Some warning message>")

stop(...) and warning(...) statements I will catch from outside the function and forward them to the user with the shinyTools::shinyTryCatch() function. Errors/warnings that come from other functions that are called inside of your function will be caught automatically.

Please, let me know if you have any questions.

mgross commented 3 weeks ago

We need to use this package with the following settings:

s(latitude,longitude,bs="ds",m=-2)

mgcv_1.8-34.tar.gz