[GRASS-user] Python error with GRASS 7 on Windows 8

Helmut Kudrnovsky hellik at web.de
Tue Jan 7 11:09:27 PST 2014


>I have both 6.4.3 and 7 installed at the same time, the first issues no
errors in any moment with the exception of not being able to call
i.landsat.dehaze on the gui command console

aside the python error, tested here with

System Info                                                                     
GRASS Version: 6.4.4svn                                                         
GRASS SVN Revision: 58595                                                       
GIS Library Revision: 50937 (2012-02-25)                                        
GDAL/OGR: 1.10.1                                                                
PROJ4: Rel. 4.8.0, 6 March 2012                                                 
Python: 2.7.4                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)

and an installed i.landsat.dehaze

i.landsat.dehaze --verbose band1=lsat7_2000_10 at landsat
band2=lsat7_2000_20 at landsat band3=lsat7_2000_30 at landsat
band4=lsat7_2000_40 at landsat band5=lsat7_2000_50 at landsat
band7=lsat7_2000_70 at landsat tasscap4=tasc.4 at user1 outprefix=dehaz
Result for channel lsat7_2000_10 at landsat: sl:-0.494488 i:86.263443
Result for channel lsat7_2000_20 at landsat: -0.294977 i:69.460720
Result for channel lsat7_2000_30 at landsat: -0.154391 i:66.912836
Result for channel lsat7_2000_40 at landsat: 1.059524 i:54.598599
Result for channel lsat7_2000_50 at landsat: 1.613300 i:66.984191
Running the dehaze formula: tm.dehaze = tm - [ (tass4 - tm_i) * tm_s]
                   with internally calculated i:intercept, s: slope
The new dehazed bands are: 
dehaz.1 .. dehaz.5
Consider to run r.colors or i.landsat.rgb to set grey color tables for each
channel
(Tue Jan 07 19:58:24 2014) Befehl ausgeführt (4 Sek) 

i.landsat.dehaze works here.

could you test with the osgeo4w-winGRASS6.4.svn
(http://trac.osgeo.org/osgeo4w/) and nc-sample data set
(http://grass.osgeo.org/download/sample-data/)?




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Python-error-with-GRASS-7-on-Windows-8-tp5096508p5096847.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list