From: Ivory <ust...@ya...> - 2009-07-08 14:38:54
|
Jing, Even you are working with a 2D grid, the cell size in the third dimension can NOT be zero. Also please specify "1" for the "min" range in the search template. Regarding the re-simulation, you can simply use the default value. What this options does is to remove some of simulated nodes from the grid, and re-simulate this nodes to improve the connectivities. The default is NOT to perform re-simulation. best, Ivory I will reinforce this error check in the next release. --- On Wed, 7/8/09, Jing Li <ji...@iw...> wrote: > From: Jing Li <ji...@iw...> > Subject: RE: [Sgems-users] about snesim > To: "Ivory" <ust...@ya...>, "Alexandre Boucher" <abo...@st...> > Cc: "Sge...@li..." <Sge...@li...> > Date: Wednesday, July 8, 2009, 8:20 AM > Dear Ivory, > > Thank you very much for the help. I made some progress with > your instructions. Now al least the program doesn't crash, > but there are some errors in the parameter settings for the > range and angles of the search template. You can see from > the attached parameter file named 'param_snesim_TI' that I > specified the isotropic condition for the 2d simulation. The > max and med ranges are specified as 60, while the min range > is set to 0, since my field is 2d. Could you please tell me > what is wrong in the settings? > > I have also attached the project (As you said, I made a > Cartesian grid 'TIGRID' and copied the simulation property > from the imported point set file 'TI'). Another question is > what are the Re-simulation Threshold and Re-simulation > Iteration #? Is it Ok to use the default settings? > > Thanks a lot, > > Jing > > > -----Original Message----- > From: Ivory [mailto:ust...@ya...] > > Sent: 2009年7月7日 20:18 > To: Alexandre Boucher; Jing Li > Cc: Sge...@li... > Subject: RE: [Sgems-users] about snesim > > Jing, > First, for multiple statistical algorithms like snesim and > filtersim, the training image must be given in a Cartesian > grid, not in a point set. In your case, the training image > is unfortunately given in a point set. (In the next release, > we will add an error checking for the training image grid > type). > > Second, snesim algorithm only works with categorical > variables. For the N categorical variable, the coding must > be like 0, 1, 2, ..., N-1. But your training image is a > continuous variable. The current snesim program does check > for this error. > > Third, your crashing of snesim run might be due to that you > did not input the "target marginal distribution". I will > double check the code when I get home. > > Fourth, when you load the TI.txt file, you must choose > "point set" as the "select object type" in the first > prompted panel. If you want to create the training image in > the Cartesian grid from that point set, you can simply > create a Cartesian grid covering the bounding box of your > input point set, then copy the property from the point set > to the Cartesian grid. The attached your training data I > created in the Cartesian grid. > > Let me know if you have any further questions. > > > best, > Ivory > > > > --- On Tue, 7/7/09, Jing Li <ji...@iw...> > wrote: > > > From: Jing Li <ji...@iw...> > > Subject: RE: [Sgems-users] about snesim > > To: "Ivory" <ust...@ya...>, > "Alexandre Boucher" <abo...@st...> > > Cc: "Sge...@li..." > <Sge...@li...> > > Date: Tuesday, July 7, 2009, 11:51 AM > > Dear Ivory, > > > > Attached are the parameter files and project files for > a > > small testing (param_snesim_test; grid; training). But > I > > don't think it is the problem of the settings, since > even if > > I don't set any parameters for running any other > algorithms, > > the program warns me for wrong parameter settings but > do not > > close. But every time when I run 'snesim', it doesn't > warn > > me about the parameter settings but simply gives the > error > > massage for closing. > > > > The file named 'TI.txt' is the real training image > which I > > would like to use later on if the algorithm works. > The > > resolution is 356 by 356, nodata values are indicated > by > > '-999'. After I loaded it, it seems that the program > cannot > > display the whole field, but only a small part of it. > > > > Thanks a lot, > > Jing > > > > -----Original Message----- > > From: Ivory [mailto:ust...@ya...] > > > > Sent: 2009年7月7日 17:18 > > To: Alexandre Boucher; Jing Li > > Cc: Sge...@li... > > Subject: Re: [Sgems-users] about snesim > > > > > > Jing, > > > > Can you send to me your project and the parameter > files you > > used for snesim runs? > > > > > > > > --- On Tue, 7/7/09, Jing Li <ji...@iw...> > > wrote: > > > > > From: Jing Li <ji...@iw...> > > > Subject: [Sgems-users] about snesim > > > To: "Alexandre Boucher" <abo...@st...> > > > Cc: "Sge...@li..." > > <Sge...@li...> > > > Date: Tuesday, July 7, 2009, 7:28 AM > > > Hello Alex & SGeMS list, > > > > > > I downloaded the S-GeMS 2.1 from http://sourceforge.net/projects/sgems/files/sgems/sgems-2.1_installer.exe > > > > > > > > > I want use the snesim algorithm to simulate 2d > fields > > using > > > a training image. But the software always gives > the > > > following error massage: > > > > > > 'sgems.exe has encountered a problem and needs > to > > > close. We are sorry for the inconvenience.' > > > > > > If I further click the details for more > informations, > > it > > > wrotes: > > > > > > 'AppName: sgems.exe AppVer: > > > 0.0.0.0 ModName: > > > gstlappli_geostat.dll > > > ModVer: 0.0.0.0 Offset: > > > 00042b56' > > > > > > It seems that this algorithm doesn't work for > the > > > downloaded version. For the other algorithms, it > gives > > the > > > warning massage if I set some parameters wrongly. > But > > for > > > snesim_std, there is no chance to check what is > wrong > > in the > > > settings. It simply asks for closing after I > click the > > Run > > > button. Is it the problem that some library is > > missing > > > during installation? But I chose all the options > > while > > > installing it. > > > > > > Thank you very much, > > > > > > Jing > > > > > > > > > > > > -----Original Message----- > > > From: Alexandre Boucher [mailto:abo...@st...] > > > > > > Sent: 2009年6月28日 8:55 > > > To: yong he > > > Cc: Sge...@li... > > > Subject: Re: [Sgems-users] about sgsim > > > > > > HI Yong, > > > > > > The file is simply a one column file, no header, > with > > the > > > numbers > > > making up the distribution. The parameters for > the > > > tails control how > > > fast (or slow) the tail reach the maximum. > > > > > > These are explained in the book: > > > http://www.amazon.com/Applied-Geostatistics-SGeMS-Users-Guide/dp/0521514142/ref=sr_1_1?ie=UTF8&s=books&qid=1246172066&sr=8-1 > > > > > > > > > Best, > > > Alex > > > > > > 2009/6/27 yong he <heg...@ya...>: > > > > > > > > Hello Alex & SGeMS list, > > > > > > > > I am going to use sgsim with my 3-D data. > The > > problem > > > is: when I set the parameters, how can I get the > "file > > with > > > ref. distribution"? In addition, how to set the > Tail > > > extrapolation parameters below theref. > distribution? > > > > > > > > Many Thanks! > > > > > > > > Yong > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > > > 好玩贺卡等你发,邮箱贺卡全新上线! > > > > http://card.mail.cn.yahoo.com/ > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > _______________________________________________ > > > > Sgems-users mailing list > > > > Sge...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sgems-users > > > > > > > > > > > > > > > > > > > -- > > > Alexandre Boucher > > > Acting Assistant Professor > > > Dept. of Environmental Earth System Science, > > > Stanford University > > > http://geostat.stanford.edu/ > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Sgems-users mailing list > > > Sge...@li... > > > https://lists.sourceforge.net/lists/listinfo/sgems-users > > > > > > > > > ------------------------------------------------------------------------------ > > > Enter the BlackBerry Developer Challenge > > > This is your chance to win up to $100,000 in > prizes! > > For a > > > limited time, > > > vendors submitting new applications to BlackBerry > App > > > World(TM) will have > > > the opportunity to enter the BlackBerry > Developer > > > Challenge. See full prize > > > details at: http://p.sf.net/sfu/blackberry > > > > _______________________________________________ > > > Sgems-users mailing list > > > Sge...@li... > > > https://lists.sourceforge.net/lists/listinfo/sgems-users > > > > > > > > > > > > > > > > |