[SOLVED] SPDE Simulation

If you have problems using RGeostats package or if you simply need some help on an unlisted subject.

[SOLVED] SPDE Simulation

Postby mharley » Mon Sep 04, 2017 3:13 pm

I tried to run an unconditional simulation via the SPDE Simulation methodology. I followed exactly the steps shown in the SPDE first-steps vignette. However as soon as the SPDE process initiates, the R-session crashes.
mharley
 
Posts: 6
Joined: Thu Nov 27, 2014 1:41 pm

Re: SPDE Simulation

Postby Fabien Ors » Tue Sep 05, 2017 8:19 am

Please, could you provide us more information?
- The vignette step when the crash occurs
- The version or RGeostats
- Your operating system...
Please follow these instructions:
viewtopic.php?f=3&t=387
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: SPDE Simulation

Postby mharley » Wed Sep 13, 2017 8:42 pm

Hello Fabien,
I am following the vignette by copying and pasting the results into my RStudio Console
The command that causes R to terminate is this:
result.nc = spde(,grid,model,seed=seed,gext=gext,nbsimu=nbsimu)

The output requested is:
> library(RGeostats)
Loading required package: Rcpp
Loading RGeostats - Version:11.1.0
Warning messages:
1: package ‘RGeostats’ was built under R version 3.3.2
2: package ‘Rcpp’ was built under R version 3.3.3
> getwd()
[1] "C:/Users/mharley"
> R.Version()$platform
[1] "x86_64-w64-mingw32"
> R.Version()$version.string
[1] "R version 3.3.1 (2016-06-21)"
> packageVersion("Rcpp")
[1] ‘0.12.11’
> packageVersion("RGeostats")
[1] ‘11.1.0’
> packageVersion("maps")
Error in packageVersion("maps") : package ‘maps’ not found
> packageVersion("mapproj")
Error in packageVersion("mapproj") : package ‘mapproj’ not found
> for (trgo_ in ls(all.names=T)) { print(trgo_); print(class(eval(parse(text=trgo_)))); cat("\n") }; rm(trgo_)
[1] ".Last.variety"
[1] "list"

[1] ".Random.seed"
[1] "integer"

[1] "eqt"
[1] "data.table" "data.frame"

[1] "lith"
[1] "data.table" "data.frame"

[1] "w"
[1] "data.table" "data.frame"

The machine OS is Windows 10
mharley
 
Posts: 6
Joined: Thu Nov 27, 2014 1:41 pm

Re: SPDE Simulation

Postby Fabien Ors » Tue Dec 12, 2017 10:02 am

Sorry for my late answer,
Did you tried with the last version or RGeostats ?
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: SPDE Simulation

Postby dimitridor » Thu Feb 01, 2018 11:43 am

Bonjour,

J'ai subi le même crash systématique. J'utilise la version 11.2.0 sous Windows 8.1.
Le crash se produit à la ligne 266 :
result.nc = spde(,grid,model,seed=seed,gext=gext,nbsimu=nbsimu)

Merci de proposer une solution,

Dimitri
dimitridor
 
Posts: 24
Joined: Fri May 26, 2017 10:03 am

Re: SPDE Simulation

Postby Fabien Ors » Wed Feb 28, 2018 5:11 pm

Dear,

Sorry for our late answer.
We have fixed the spde function in the last release of RGeostats under Windows (11.2.1).
Hope this helps !

Best regards,
Fabien
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: SPDE Simulation

Postby dimitridor » Wed Mar 28, 2018 2:44 pm

Dear Fabian,

I tested again on version 11.2.1 under Windows 8.1 and I still have the same crash...
Any guess of what is happening?

Thank you,
Dimitri
dimitridor
 
Posts: 24
Joined: Fri May 26, 2017 10:03 am

Re: SPDE Simulation

Postby Fabien Ors » Fri Apr 27, 2018 2:27 pm

Dear,

We have really fixed the spde function in the last release of RGeostats under Windows (11.2.2).
Hope this helps !

Best regards,
Fabien
Fabien Ors
Administrateur du site
 
Posts: 226
Joined: Thu Sep 20, 2012 1:07 pm

Re: SPDE Simulation

Postby dimitridor » Mon Apr 30, 2018 12:58 pm

Fabien,

Thank you for the new version. It solves the problem.

I just had a "unused parameters numparts=c(4,4),npiter=10" causing an error at line 530. I removed them and reached the end of the Rmd file.

I presume those parameters are obsolete, right?

Thank you,

Dimitri
dimitridor
 
Posts: 24
Joined: Fri May 26, 2017 10:03 am

Re: SPDE Simulation

Postby Didier Renard » Tue May 08, 2018 9:39 pm

Hi Dimitri
You are right, the parameters numparts was refering to the quilting option which has been abandoned.
I am even surprised that you could still see any reference to this parameter: I did not find any in the today's distribution.
But SPDE is constantly evolving ... so some obsolete parameters may remain ... by mistake.
Didier
Didier Renard
 
Posts: 337
Joined: Thu Sep 20, 2012 4:22 pm


Return to Other Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests

cron