[GRASS-dev] [GRASS GIS] #3097: r.in.aster does not work

GRASS GIS trac at osgeo.org
Sun Jul 10 02:38:10 PDT 2016


#3097: r.in.aster does not work
-------------------------+-------------------------
 Reporter:  venkat       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.5
Component:  Default      |    Version:  7.0.4
 Keywords:               |        CPU:  Unspecified
 Platform:  MSWindows 8  |
-------------------------+-------------------------
 Running r.in.aster with Aster hdf file
 gives me the error shown below.

 Also, the currently available Aster data
 in HDF format [1] contains on 14bands (band3b
 not included). However, r.in.aster is coded
 to read 15 band file.

 [1] http://earthexplorer.usgs.gov/

 Importing into GRASS ...
 Traceback (most recent call last):
   File "C:\Program Files (x86)\GRASS GIS
 7.0.0/scripts/r.in.aster.py", line 166, in <module>
     main()
   File "C:\Program Files (x86)\GRASS GIS
 7.0.0/scripts/r.in.aster.py", line 127, in main
     import_aster(proj, srcfile, tempfile, band)
   File "C:\Program Files (x86)\GRASS GIS
 7.0.0/scripts/r.in.aster.py", line 158, in import_aster
     outfile = "%s.%s" % (output, band)
 NameError: global name 'output' is not defined
 100 - done.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3097>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list