ubarsc / rios

A raster processing layer on top of GDAL
https://www.rioshome.org
GNU General Public License v3.0
14 stars 7 forks source link

closeOutputImages error #15

Closed gillins closed 6 years ago

gillins commented 7 years ago

Original report by alan piszcz (Bitbucket: apiszcz, GitHub: apiszcz).


I have two different folders of .tif files

Folder 1 works correctly iterating over the images.

Folder 2 produces an error concerning the outimage.

#!python

Traceback (most recent call last):
  File "lib\_srm\srm.py", line 316, in <module>
    main()
  File "lib\_srm\srm.py", line 306, in main
    osrm.run(oc, ol, ou, modes, src)
  File "lib\_srm\srm.py", line 215, in run
    applier.apply(self.doSum, infiles, outfiles, controls=controls)
  File "C:\g\test\lib\rios\applier.py", line 683, in apply
    closeOutputImages(writerdict, outfiles, controls)
  File "C:\g\test\lib\rios\applier.py", line 692, in closeOutputImages
    writer = writerdict[name]
KeyError: 'outimage'
gillins commented 7 years ago

Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).


Hi Alan,

I have no idea what is going on here, but since you are plainly able to use RIOS in other folders, it would seem unlikely that the problem is within RIOS.

gillins commented 6 years ago

Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).


Closed. No further response from original poster.