Skip to content
New issue

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

Creating a DataCube with dummy data #226

Open
Jaapel opened this issue Aug 23, 2021 · 3 comments
Open

Creating a DataCube with dummy data #226

Jaapel opened this issue Aug 23, 2021 · 3 comments

Comments

@Jaapel
Copy link

Jaapel commented Aug 23, 2021

I want to create a DataCube object containing dummy data, preferrably from my local machine (numpy array or something alike). With this dummy datacube, I can test my workflow or my own process. I have tried to go through some documentation and code from openeo and some drivers, but have not progressed much. How would I go about it? Or is there a better way to do some testing?

As I am new to the EO world, any help is appreciated 👍 .

@soxofaan
Copy link
Member

Hi @Jaapel

thanks for trying out the python client and openEO.

What you are trying to do (process local data locally) is not really the intended way of using openEO (both the Python client as the API in general).
The DataCube you create in your local Python script or notebook is an abstract representation of data that exists remotely server-side on the openEO backend.
While loading local data and local processing are possible in principle, it's all but recommended to try to set this up if you are just starting out with openEO.

The best way to get a feel is playing with the code examples from https://openeo.org/documentation/1.0/python/ https://open-eo.github.io/openeo-python-client/basics.html or https://github.com/Open-EO/openeo-python-client/tree/master/examples
Don't hesitate to report issues (unclarities, typo's, ...) with these example

@Jaapel
Copy link
Author

Jaapel commented Aug 25, 2021

Thanks for the info. Will close the issue for now.

@Jaapel Jaapel closed this as completed Aug 25, 2021
@soxofaan
Copy link
Member

Reopening because I think it is still a valid feature request (for learning, illustration and testing purposes),
and it has been discussed before, e.g. in Open-EO/openeo-processes#204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants