[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
http://ppa.launchpad.net/osgeolive/nightly/ubuntu/pool/main/d/datacube/
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`
https://proj.org/usage/environmentvars.html#envvar-PROJ_LIB
those files are in `/usr/share/proj/`
the error looks a lot like this
https://rasterio.readthedocs.io/en/latest/faq.html#why-can-t-rasterio-
find-proj-db-rasterio-versions-1-2-0
what is odd is that rio and inline rasterio work fine
more details here:
https://wiki.osgeo.org/wiki/Osgeolive-jupyter#opendatacube
--
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