[OSGeoLive] #2489: python3 datacube-core

OSGeoLive trac_osgeolive at osgeo.org
Sat Nov 2 16:55:22 PDT 2024


#2489: python3 datacube-core
-------------------------+----------------------------
 Reporter:  darkblueb    |       Owner:  osgeolive@…
     Type:  enhancement  |      Status:  new
 Priority:  major        |   Milestone:  OSGeoLive17.0
Component:  OSGeoLive    |  Resolution:
 Keywords:  python       |
-------------------------+----------------------------
Comment (by darkblueb):

 **ol17_build107**

 `opendatacube==1.8.19` is there but `datacube.conf` appears to need
 attention

 demo data here https://download.osgeo.org/livedvd/data/odc/

 dot-conf is defined inline
 https://git.osgeo.org/gitea/osgeolive/OSGeoLive/raw/commit/3fadfe06acdb4c151a285edee6759976e0f87fb7/bin/install_datacube.sh

 build log shows
 {{{
 Setting up python3-datacube (1.8.19-0~noble1) ...
 mkdir: created directory '/usr/local/share/data/odc'
 CREATE EXTENSION
 CREATE EXTENSION
 2024-11-02 14:18:43,677 137395 datacube INFO Running datacube command:
 /usr/bin/datacube -v -C /home/user/.config/dat
 acube/datacube.conf system init
 Initialising database...
 2024-11-02 14:18:43,810 137395 datacube.drivers.postgres._core INFO
 Ensuring user roles.
 2024-11-02 14:18:43,909 137395 datacube.drivers.postgres._core INFO
 Creating schema.
 2024-11-02 14:18:43,915 137395 datacube.drivers.postgres._core INFO
 Creating tables.
 2024-11-02 14:18:44,750 137395 datacube.drivers.postgres._core INFO
 Creating triggers.
 2024-11-02 14:18:44,828 137395 datacube.drivers.postgres._core INFO
 Creating added column.
 2024-11-02 14:18:44,839 137395 datacube.drivers.postgres._core INFO Adding
 role grants.
 2024-11-02 14:18:44,850 137395 datacube.index.postgres.index INFO Adding
 default metadata types.
 Created.
 Checking indexes/views.
 2024-11-02 14:18:44,974 137395 datacube.drivers.postgres._api INFO
 Checking dynamic views/indexes. (rebuild views=Tru
 e, indexes=False)
 Done.
 }}}
 {{{
 ...
 Adding "clip_landsat" (this might take a while) DONE
 Adding "esa_worldcover_2021" (this might take a while) DONE
 Adding "tsrtm2_dem_prizren" (this might take a while) DONE
 ===============================================================
 Finished "install_datacube.sh"
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2489#comment:3>
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