dsegerss / GIS-tools

Scripts for GIS
10 stars 0 forks source link

processRaster.py: NameError on missing GDAL Python bindings #1

Open mjakob opened 11 years ago

mjakob commented 11 years ago

When processRaster.py is run and GDAL is not installed, the following exception is raised:

Traceback (most recent call last): File "/local_disk/Projects/GIS-tools/processRaster.py", line 45, in dataTypes={"Float32":GDT_Float32, NameError: name 'GDT_Float32' is not defined

It looks like the program is supposed to at least initially handle a missing GDAL installation gracefully. If not, close this issue!

dsegerss commented 11 years ago

Will fix


David Segersson Project manager, Air Quality and Wind

Phone: +46 11 495 82 59 E-mail: david.segersson@smhi.se

Swedish Meteorological and Hydrological Institute Professional Services SE-601 76 Norrköping


Från: Mattias Jakobsson [notifications@github.com] Skickat: den 5 juni 2013 13:12 Till: dsegerss/GIS-tools Ämne: [GIS-tools] processRaster.py: NameError on missing GDAL Python bindings (#1)

When processRaster.py is run and GDAL is not installed, the following exception is raised:

Traceback (most recent call last): File "/local_disk/Projects/GIS-tools/processRaster.py", line 45, in dataTypes={"Float32":GDT_Float32, NameError: name 'GDT_Float32' is not defined

It looks like the program is supposed to at least initially handle a missing GDAL installation gracefully. If not, close this issue!

— Reply to this email directly or view it on GitHubhttps://github.com/dsegerss/GIS-tools/issues/1.