I am running landsat to download and then process some bands. Everything seems to work fine but I am getting the error ValueError NULL dataset in the final steps after calculating the cloud/snow coverage.
> landsat download LC80450172015103LGN00 LC80460172015110LGN00 LC80440172015096LGN00 -b 1098 -p --clip=-113.89218825817956,59.6540604306922,-111.12098424550508,61.58245752580875
...
...
Clipping
Band 10
Band 9
Band 8
Band QA
===> Image processing started for bands 10-9-8
===> Getting boundaries
===> Projecting
band 10
band 9
band 8
===> Calculating cloud and snow coverage from QA band
cloud/snow coverage: 63.83
===> Final Steps
Time spent : 50.63 seconds
Traceback (most recent call last):
File "/usr/local/bin/landsat", line 10, in <module>
execfile(__file__)
File "/landsat/bin/landsat", line 8, in <module>
landsat.landsat.__main__()
File "/landsat/landsat/landsat.py", line 491, in __main__
exit(*main(args))
File "/landsat/landsat/landsat.py", line 416, in main
args.ndvigrey, bounds=bounds)
File "/landsat/landsat/landsat.py", line 479, in process_image
return p.run()
File "/landsat/landsat/decorators.py", line 11, in wrapped_f
return func(*args, **kwargs)
File "/landsat/landsat/image.py", line 427, in run
return self._write_to_file(new_bands, **rasterio_options)
File "/landsat/landsat/decorators.py", line 11, in wrapped_f
return func(*args, **kwargs)
File "/landsat/landsat/image.py", line 260, in _write_to_file
output = rasterio.open(output_file, 'w', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rasterio/__init__.py", line 123, in open
s.start()
File "rasterio/_io.pyx", line 1336, in rasterio._io.RasterUpdater.start (rasterio/_io.:18964)
ValueError: NULL dataset
I am running through the docker container on windows 7. I am not sure what the error means or why I am getting it.
I am running
landsat
to download and then process some bands. Everything seems to work fine but I am getting the errorValueError NULL dataset
in the final steps after calculating the cloud/snow coverage.I am running through the docker container on windows 7. I am not sure what the error means or why I am getting it.