[GRASS-dev] Linke turbidity in r.sun.daily
Nikos Alexandris
nik at nikosalexandris.net
Sat Mar 21 03:49:32 PDT 2015
While working on the script, I'd like to understand if the "gisprompt"
line is correct:
#%option
#% key: linke
#% key_desc: key description here
#% type: string
#% label: label here
#% gisprompt: old,fcell,raster
#% description: Name of the Linke atmospheric turbidity coefficient
input raster map
#% required : no
#%end
According to
<http://wgrass.media.osaka-cu.ac.jp/grassh/programming7/gislib_cmdline_parsing.html#gisprompt_Member>:
"...three comma-separated (no spaces allowed) sub-arguments..." and
"Second argument: ...should be the name of one of the standard
subdirectories of the mapset, as listed in $GISBASE/etc/element_list."
Since Linke Turbidity ranges in [0, 7.0], "fcell" shoulb be correct
here. Also, does it matter if a map is DCELL or FCELL, regarding the
"element"? Either will be stored inside the "fcell" directory, right?
Nikos
More information about the grass-dev
mailing list