[GRASS-dev] Linke turbidity in r.sun.daily

Markus Neteler neteler at osgeo.org
Sat Mar 21 12:35:33 PDT 2015


On Sat, Mar 21, 2015 at 8:24 PM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> Nikos Alexandris wrote:
...
>>> Hmm, ok. Still, why "cell" for Linke-T? Linke-Ts are floats.
...
>> r.sun --script
...
> #%option
> #% key: linke
> #% type: string
> #% required: no
> #% multiple: no
> #% description: Name of the Linke atmospheric turbidity coefficient input
> raster map [-]
> #% gisprompt: old,cell,raster
> #% guisection: Input
> #%end
>
> "linke" is for raster maps as input.

Yes, I used that (also with the SODA maps).

You are confusing at time the precision CELL (= integer) and "cell"
(historically used for "raster" maps as opposed to "vector" map:
http://grass.osgeo.org/programming7/gislib_cmdline_parsing.html#gisprompt_Member

"new,cell,raster"   G_open_new("cell", "map")
"old,vector,vector" G_open_old("vector", "map")

... this cell is not related to precision but means raster map which
can well be a floating point map.

HTH
Markus


More information about the grass-dev mailing list