antarctica / oceancolor_downloader

QGIS plugin to download data from NASA Oceancolor
MIT License
9 stars 2 forks source link

If you select a time range out of dataset range.. #15

Closed lo-ise closed 9 years ago

lo-ise commented 9 years ago

You get an error:

File "/Users/Ireland/.qgis2/python/plugins/oceancolor_downloader/oceandatadialog.py", line 170, in addlayers os.remove(qml) UnboundLocalError: local variable 'qml' referenced before assignment

So this is happening because you have selected to add to canvas, but there are no files to add.