Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] Shalstab from console

Dear list
I am studying Jgrass in this days and I try to launch Shalstab from console because I have also Trasmissivity map and soil depth map, but I have some problems, see below
moreover I think than the script cannot be able to show the map in the screen

this is the command
 
//Please uncomment and define the following options if needed:
# MAPSET= C:\Documents and Settings\jgrassdb\WGS84_UTM33N\roccapiemonte
//# GISBASE= 
//# STARTDATE = 2007-08-03 06:00
//# ENDDATE = 2007-08-06 12:00
//# DELTAT= 30
//# RT= usually not needed
//# DEBUG= false
//# TRACE= false
//# NATIVEDEBUG= false

def slope= "slope";
def ab= "AB";
def trasmissivity= "T";
def cohesion= 0;
def hs= "DEPTH";
def tgphi= 0.577;
def rho= 2.4;
def q= 115.0;
def qcrit= "Qcrit";
def classi= "Classi";
def qcrit map name= "Confronti.Qcrit";
def class map name= "Confronti.Classi";

jgrass {
h.shalstab --igrass-slopemap $slope
--igrass-abmap $ab
--igrass-trasmissivitymap $trasmissivity
--cohesioconst $cohesion
--igrass-hsmap $hs
--tgphiconst $tgphi
--rhoconst $rho
--qconst $q
--ograss-qcritmap $qcrit
--ograss-classimap $classi

and this is the error message

GroovyShell, Version 1.7.0, http://groovy.codehaus.org 
------------------------------ Running model... -------------------------------
Could not find matching constructor for: nl.alterra.openmi.sdk.backbone.Argument(java.lang.String, java.lang.Integer, java.lang.Boolean)
Could not find matching constructor for: nl.alterra.openmi.sdk.backbone.Argument(java.lang.String, java.lang.Integer, java.lang.Boolean)

Total run time: 5797 ms

thanks

Back to the top