Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: NULL dataset after download and process #175

Open
cwadding opened this issue Apr 1, 2016 · 0 comments
Open

ValueError: NULL dataset after download and process #175

cwadding opened this issue Apr 1, 2016 · 0 comments

Comments

@cwadding
Copy link

cwadding commented Apr 1, 2016

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.

@scisco scisco added ready and removed ready labels Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants