[GRASS-dev] i.topo.corr ported to GRASS 7

Markus Neteler neteler at osgeo.org
Sat Aug 6 03:38:52 EDT 2011


On Fri, Aug 5, 2011 at 9:51 PM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
>> http://trac.osgeo.org/grass/browser/grass-addons/grass7/imagery/i.topo.corr
>> does this:
>>
>> GRASS 7.0.svn (nc_spm_08):~ > i.topo.corr -i input=myplane_pyr
>> output=myplane_pyr_illumination basemap=myplane_pyr zenith=45.652668
>> azimuth=100.552200 method=c-factor
>> WARNING: Illegal filename <]>. Character <> not allowed.
>> WARNING: Illegal filename <]>. Character <> not allowed.
>> ERROR: Unable to open header file for raster map <]@>
>
> This is because the Gfile structures didn't have the "name" field
> initialised. Try r47464.

Thanks also for the other fixes. I have yet simplified the parser
part again.

Now I get this:

GRASS 7.0.svn (nc_spm_08):~ > g.region rast=myplane_pyr -p
projection: 99 (Lambert Conformal Conic)
zone:       0
datum:      nad83
ellipsoid:  a=6378137 es=0.006694380022900787
north:      308500
south:      215000
west:       630000
east:       705000
nsres:      250
ewres:      250
rows:       374
cols:       300
cells:      112200

GRASS 7.0.svn (nc_spm_08):~ > i.topo.corr -i input=myplane_pyr
output=myplane_pyr_illumination basemap=myplane_pyr zenith=45.652668
azimuth=100.552200 method=c-factor
ERROR: Input window changed while maps are open for read

Markus


More information about the grass-dev mailing list