We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coincidentally I got two requests this week how to start with a datacube (from load_collection or load_stac) without an actual connection.
DataCube has a load_collection factory to make that possible
DataCube
load_collection
import openeo cube = openeo.DataCube.load_collection( "FOO_S2", temporal_extent=["2024-09-01", "2024-10-01"], # ... fetch_metadata=False, )
Unfortunately this currently requires that fetch_metadata=False, which should not be necessary.
fetch_metadata=False
For load_stac it's a bit uglier at the moment:
import openeo.rest.datacube arguments = { # ... } cube = openeo.rest.datacube.DataCube( openeo.rest.datacube.PGNode("load_stac", arguments=arguments), connection=None, )
given the importance of load_stac, we should add a factory for that one too
The text was updated successfully, but these errors were encountered:
Allow creating load_stac datacube without connection object. #638
a49493d
DataCube.load_collection without conneciton: automatically avoid `f…
DataCube.load_collection
3871077
…etch_metadata` #638
EmileSonneveld
Successfully merging a pull request may close this issue.
Coincidentally I got two requests this week how to start with a datacube (from load_collection or load_stac) without an actual connection.
DataCube
has aload_collection
factory to make that possibleUnfortunately this currently requires that
fetch_metadata=False
, which should not be necessary.For load_stac it's a bit uglier at the moment:
given the importance of load_stac, we should add a factory for that one too
The text was updated successfully, but these errors were encountered: