input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public float get mean pot evpton hillslope int hill number return pot evpton basin hill number get mean record
|
returns the maximum value of pot evptipitation recorded for a given hillslope
|
public string pot evptname return this pot evptname
|
returns the name of this pot evpt event
|
public float pot evptrecord resolution return meta pot evpt get temporal scale
|
the pot evpt temporal resolution in milliseconds
|
public void set pot evptinitial time java util calendar ini date first water drop ini date
|
the initial pot evpt time as a
|
public double pot evptrecord resolution in minutes return record resolution in minutes
|
the pot evpt record time resolution in minutes
|
public float get total pixel based pot evpt int i int j return total pixel based pot evpt i j
|
the total rainfall over a given pixel of the original raster fields
|
public float get max land use on hillslope int hill number return land use on basin hill number get max record
|
returns the maximum value of precipitation recorded for a given hillslope
|
public float get mean land use on hillslope int hill number return land use on basin hill number get mean record
|
returns the maximum value of precipitation recorded for a given hillslope
|
public float get max evpton hillslope int hill number return evpton basin hill number get max record
|
returns the maximum value of evptipitation recorded for a given hillslope
|
public string land use name return this land use name
|
returns the name of this land use event
|
public float get mean evpton hillslope int hill number return evpton basin hill number get mean record
|
returns the maximum value of evptipitation recorded for a given hillslope
|
public float land use record resolution return meta land use get temporal scale
|
the land use temporal resolution in milliseconds
|
public string evptname return this evptname
|
returns the name of this evpt event
|
public float get total hill slope based pot evpt int hill number return total hill based pot evpt hill number
|
the total rainfall over a given hillslope
|
public double land use record resolution in minutes return record resolution in minutes
|
the land use record time resolution in minutes
|
public float get total pixel based land use int i int j return total pixel based land use i j
|
the total rainfall over a given pixel of the original raster fields
|
public float evptrecord resolution return meta evpt get temporal scale
|
the evpt temporal resolution in milliseconds
|
public void set evptinitial time java util calendar ini date first water drop ini date
|
the initial evpt time as a
|
public void load spatial variable state boolean state load spatial variable set enabled state
|
informes the module if the independent threads have finished calculating
|
public double evptrecord resolution in minutes return record resolution in minutes
|
the evpt record time resolution in minutes
|
public float get total pixel based evpt int i int j return total pixel based evpt i j
|
the total rainfall over a given pixel of the original raster fields
|
public double area int hill number return double areas array 0 hill number
|
the total area of the hillslopes draining to the hill number th link
|
public float get total hill slope based evpt int hill number return total hill based evpt hill number
|
the total rainfall over a given hillslope
|
public void set area int hill number float new area areas array 0 hill number new area
|
the total area of the hillslopes draining to the hill number th link
|
public void set vol res float voo vol res voo
|
set the volume of reservation mm for hillslope and greenroof area m2
|
public float max precipitation int hill number return this storm event get max prec on hillslope hill number
|
the maximum precipitatation intesity recorded over the hillslope
|
public float mean precipitation int hill number return this storm event get mean prec on hillslope hill number
|
the mean precipitatation intesity recorded over the hillslope
|
public double so int hill number return 1 0 so is max storage in the hillslope and i is the i th link
|
the storage capacity of the hillslope
|
public double ts int hill number return 10 0
|
the recesion rate in the hillslope
|
public double te int hill number return 1e20
|
the evaporation rate in the hillslope
|
public string soil name return this soil data
|
returns the name of this soil file
|
public double ks int hill number double ks mpd 1 023 double ks mphr ks mpd 1 24 return ks mphr
|
by peter furey soil hydraulic condictivity
|
public double scsrecord resolution in minutes return record resolution in minutes
|
the land use record time resolution in minutes
|
public double mst exp int hill number return 11 0 this value dimensionless
|
by peter furey undocumented
|
public double rec param int hill number double spec yield 0 01 dimensionless double area km2 area hill number areas array 0 i area km 2 double area m2 area km2 1e6 km 2 1 e6 m 2 double d3 phr 3 0 ks hill number depth mn sat hill number spec yield area m2 return d3 phr 1 t
|
by peter furey in network equations qs rec param i s2
|
public double s2 param int hill number double porosity 0 46 dimensionless double area km2 area hill number areas array 0 i area km 2 double area m2 area km2 1e6 km 2 1 e6 m 2 double d4 pm3 0 905 1 porosity depth mn sat hill number area m2 return d4 pm3 1 l 3
|
by peter furey in network equations satsurf s2 param i s2
|
public double get aver cn2 int hill number return cn hill number
|
the average curve number over a hillslope
|
public double s2max int hill number double s2max m3 1 0 s2 param hill number return s2max m3
|
by peter furey undocumented
|
public double etrate int hill number double etrate mpd 0 0034 double etrate mphr etrate mpd 1 24 return etrate mphr
|
by peter furey undocumented
|
public double get aver cn1 int hill number return cn hill number 20 100 cn hill number 100 cn hill number math exp 2 533 0 0636 100 cn hill number
|
the average curve number over a hillslope
|
public double get aver cn3 int hill number return cn hill number math exp 0 00673 100 cn hill number
|
the average curve number over a hillslope
|
public double get aver manning int hill number return manning hill number
|
the average manning roughness parameter over a hillslope
|
public double getmin hill based manning int hill number return min hill based man hill number
|
the minimum manning roughness parameter over a hillslope
|
public double getmax hill based manning int hill number return max hill based man hill number
|
the max manning roughness parameter over a hillslope
|
public boolean accept final java io file p1 return p1 is directory
|
the accept criteria based on the is directory method in
|
public boolean accept final java io file p1 boolean ext exists false for int i 0 i my ext length i ext exists p1 get name to lower case last index of my ext i 1 return ext exists
|
the accept criteria based on the file name
|
public boolean accept java io file file return file get name to lower case last index of my ext 1 file get name last index of my name 1
|
the accept criteria based on the file name
|
public boolean accept java io file file int pos period int math max file get name last index of 0 return file get name substring pos period to lower case last index of my ending 1 file get name last index of my name 1 file get name substring pos period 1 to lower case equals ignore case tri file get name substring pos period 1 to lower case equals ignore case edges file get name substring pos period 1 to lower case equals ignore case nodes
|
the accept criteria based on the file name
|
public string get gen id return gen id
|
returns a string with the tree id family name
|
public string to string string text mean value mean value n standard deviation standard deviation n skewness skewness n kurtosis kurtosis n max value max value n min value min value n total total n data count data count n return text
|
composes a string with the statistics for the data
|
public int get network order return rsn depth 1
|
returns the strahler order of the rsn
|
public int get basin order return basin order
|
the network order
|
public db register string fields object values for int i 0 i fields length i properties put fields i values i
|
creates a new db register
|
public object get property string prop name return properties get prop name
|
returns the value associated to a given property
|
public void add table string table name string fields string type tables put table name new db table fields type
|
adds a db table into the database engine
|
public void add data string table name string register index object values if tables contains key table name db table this table db table tables get table name add data table name register index new db register this table get field names values
|
adds an entry to one of the tables
|
public void add data string table name string register index db register field if tables contains key table name db table this table db table tables get table name this table add register register index field
|
adds an entry to one of the tables
|
public db register get register by main index string table name object value to match if tables contains key table name db table this table db table tables get table name return this table get register by main index value to match return null
|
returns a db register whose main index matches a predetermined keyword in a
|
public double get max value string table name string field name if tables contains key table name db table this table db table tables get table name return this table get max value field name return null
|
returns the maximum value for a given numeric property in a given table
|
public double get min value string table name string field name if tables contains key table name db table this table db table tables get table name return this table get min value field name return null
|
returns the minimum value for a given numeric property in a given table
|
public void add register string register index db register register index names add element register index fields information put register index register check uniqueness register
|
adds a regiter to the table using a master string unique descriptor
|
public db register get register by main index object value to match return db register fields information get string value to match
|
returns a db register whose main index matches a predetermined keyword
|
public double get max value string field name return double unique values get field name 1
|
returns the maximum value for a given numeric property
|
public int get outlet id return oulet link num
|
returns the id of the link in the basin outlet
|
public double get min value string field name return double unique values get field name 0
|
returns the minimum value for a given numeric property
|
public float get relief throws java io ioexception get elevations return max z min z
|
returns the difference between the highest and the lowest points in the basin
|
public float get max z throws java io ioexception get elevations return max z
|
returns the elevation of the highest point in the basin
|
public float get min z throws java io ioexception get elevations return min z
|
returns the elevation of the lowest point in the basin
|
public int get outlet id return xy basin 1 0 local meta raster get num cols xy basin 0 0
|
returns the id of the basin outlet
|
public int sample return int math random upper limit lower limit 1 lower limit
|
returns a random value that follows a discrete uniform distribution
|
public int sample double ran num math random if ran num p0 return min value return int math floor math log ran num coeff math log base min value 1
|
returns a random value that follows a generalized geometric distribution
|
public float sample return float rn next gaussian stdev mean
|
returns a random value that follows a gaussian distribution
|
public int sample double ran num math random return int math floor math log ran num math log 1 base min value
|
returns a random value that follows a geometric distribution
|
public int sample return math random p value0 value0 value1
|
returns a random value that follows a binary distribution
|
public int sample int scale return sequence scale
|
returns a random value that follows a binary distribution
|
public float sample return float math random upper limit lower limit 1 lower limit
|
returns a random value that follows a uniform distribution
|
public int sample int scale int value math random p value0 value0 value1 return 2 value max scale scale return value scale
|
returns a random value that follows a binary distribution
|
public float sample return float math exp rn next gaussian stdev mean
|
returns a random value that follows a log gaussian distribution
|
public float get equalized float f try if new float local meta data get property missing float value f return 0f int i 0 while fda i f i return 1 i float no faltantes 1 254 catch exception ex return 255
|
maps a number into the 0 1 according to the cumulative distribution function
|
public double get double int i int j if data double null return data double i j if local meta data get property format equals ignore case byte return double data byte i j if local meta data get property format equals ignore case integer return double data integer i j if local meta data get property format equals ignore case float return double data float i j return 0 0
|
reads one value from the file
|
public object get property string key return location register get property key
|
returns the desired property
|
public string to string return string location register get property site name string location register get property type
|
a string describing the location
|
public int compare to object obj return this to string compare to ignore case obj to string
|
the comparison criteria
|
public string get information return string location register get property information
|
provides additional information associated with the location
|
public boolean has images string location path java io file location register get property file location get parent java util vector images vector java util vector location register get property images if string images vector get 0 equals ignore case n a return false return true
|
true if it has associated images
|
public void add basin to file string new basin throws java io ioexception java io output stream writer newfile new java io output stream writer new java io buffered output stream new java io file output stream basins log available basins add new basin for int i 0 i available basins size i newfile write string available basins get i n newfile close
|
appends a new x y and description for a basin outlet to the
|
public int get largest order return largest order
|
returns the largest order present in the dem river network
|
public void set basic time step double new bts basic time step new bts
|
sets the valuo of the algorithm time step
|
public string to string return get name get location meta get name
|
creates a string that describes the information in the meta file
|
public void set location meta java io file file location meta file
|
sets the path where the meta file resides
|
public void set location binary file java io file file location binary file file
|
sets the path of the binary file assicitated with the information of the
|
public void set name string new name properties put name new name
|
sets the value for the name tag
|
public void set min lat string new min lat properties put southernmost latitude new min lat
|
sets the value for the southernmost latitude tag
|
public void set min lon string new min lon properties put westernmost longitude new min lon
|
sets the value for the westernmost longitude tag
|
public string get property string prop return string properties get prop
|
returns the value of the property
|
public void set res lat double new res lat properties put latitudinal resolution arc sec new double new res lat
|
sets the value for the latitudinal resolution arc sec tag
|
public void set res lon double new res lon properties put longitudinal resolution arc sec new double new res lon
|
sets the value for the longitudinal resolution arc sec tag
|
public void set num cols int new num cols properties put columns new integer new num cols
|
sets the value for the columns tag
|
public void set coordinates float new xycoords properties put coordinates lon lat deg new xycoords
|
sets the coordinates of the polygon to using a float array
|
public void set information string new information properties put information new information
|
sets the information property to the specified value
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.