[OSGeoLive] #2330: opendatacube jupyter notebooks

OSGeoLive trac_osgeolive at osgeo.org
Tue Jul 26 19:54:31 PDT 2022

#2330: opendatacube jupyter notebooks
 Reporter:  darkblueb              |       Owner:  osgeolive@…
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  OSGeoLive15.0
Component:  OSGeoLive              |  Resolution:
 Keywords:  jupyter, opendatacube  |
Comment (by darkblueb):

 attempting a setup with `datacube` installed


 when I make a call on the command line to datacube tool, I get
 `rasterio.errors.CRSError: The EPSG code is unknown. PROJ:
 proj_create_from_database: Cannot find proj.db`

 inline in ipython3, I can import individually  rasterio, datacube, pyproj
 with no errors

 I manually set the bash shell environment variable
 `$ DATACUBE_CONFIG_PATH=~/.config/datacube/datacube.conf  datacube product
 add landsat-clip.yaml`


 those files are in `/usr/share/proj/`

 the error looks a lot like this

 what is odd is that rio and inline rasterio work fine

 more details here:

Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2330#comment:4>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.

More information about the osgeolive mailing list