opendatacube / datacube-core

Open Data Cube analyses continental scale Earth Observation data through time
http://www.opendatacube.org
Apache License 2.0
509 stars 177 forks source link

Installation environment issues #1499

Closed WildEchoes closed 11 months ago

WildEchoes commented 11 months ago

Problem

Thanks for your work! I first came into contact with the ODC library and encountered some doubts when configuring the Conda environment.

  • Can I use the datacube normally with only conda install - c conda forge datacube==1.8.12 ? (I don't install postgresql, because I don't need it immediately)
  • If I don‘t use pip install --upgrade -e . ,it can work?I'm not sure if it's necessary and I have a problem when I use this command.

One more thing, If I want to learn how to use odc where I can learn form? Thanks!

SpacemanPaul commented 11 months ago

It sounds like you might be better off looking at odc-geo - if you are only working from a handful of local data files it is easier to install, doesn't require a database and and is probably a better way for a beginner to learn.

Datacube-core is more for managing or indexing large collections of data. You can't do much with the datacube-core without a database.

I find on most systems it is easiest to simply install from PyPI with pip (preferably in a virtual environment):

For help and guidance I recommend the ODC Community Slack,

Another good way to get started and learn would be to obtain an account on a free platform with an ODC environment already provided for you, like Digital Earth Australia Sandbox or Digital Earth Africa Sandbox. Both programs have extensive examples and documentation to get you up to speed.

WildEchoes commented 11 months ago

It sounds like you might be better off looking at odc-geo - if you are only working from a handful of local data files it is easier to install, doesn't require a database and and is probably a better way for a beginner to learn.

Datacube-core is more for managing or indexing large collections of data. You can't do much with the datacube-core without a database.

I find on most systems it is easiest to simply install from PyPI with pip (preferably in a virtual environment):

For help and guidance I recommend the ODC Community Slack,

Another good way to get started and learn would be to obtain an account on a free platform with an ODC environment already provided for you, like Digital Earth Australia Sandbox or Digital Earth Africa Sandbox. Both programs have extensive examples and documentation to get you up to speed.

Thanks!