Opened 8 years ago

Closed 8 years ago

#1752 closed defect (wontfix)

Jupyter Notebook rasterio does not find the sample data

Reported by: darkblueb Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive10.0
Component: OSGeoLive Keywords: jupyter, rasterio
Cc:

Description

run Jupyter;

http://localhost:8883/notebooks/projects/RASTERIO/introduction.ipynb

In [2]: src = rasterio.open('data/RGB.byte.tif')


ERROR:GDAL:CPLE_OpenFailed in No such file or directory

---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-2-5d692b2ffa15> in <module>()
----> 1 src = rasterio.open('data/RGB.byte.tif')

/usr/lib/python2.7/dist-packages/rasterio/__init__.pyc in open(path, mode, driver, width, height, count, crs, transform, dtype, nodata, **kwargs)
    121         raise ValueError(
    122             "mode string must be one of 'r', 'r+', or 'w', not %s" % mode)
--> 123     s.start()
    124     return s
    125 

rasterio/_base.pyx in rasterio._base.DatasetReader.start (rasterio/_base.c:2615)()

rasterio/_err.pyx in rasterio._err.GDALErrCtxManager.__exit__ (rasterio/_err.c:994)()

IOError: No such file or directory


Change History (2)

comment:1 by darkblueb, 8 years ago

this error is explained in the README at the top of the Notebook.. It is slightly confusing, but this is the same way the Notebook was shipped in the last release.

The reason for this is two parts: OSGeo-Live disk space constraints make adding sample data challenging; and, OSGeo-Live reading of the license on the Notebook shows permission to use, OSGeo never asked for additional permissions for sample data.

Version 0, edited 8 years ago by darkblueb (next)

comment:2 by darkblueb, 8 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.