-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update opendatacube.md #76
Conversation
add load_collection section with odc and stac
opendatacube, xarray and openeo-processes-python are **not** dependencies because this package simply creates a | ||
python file that can be executed in the correct environment where these dependencies are resolved. | ||
::: | ||
* `opendatacube Products`: The implementation of `load_collection` can include the `opendatacube` function `datacube.Datacube.load()`. It is recommended to use the `dask_chunks` parameter, when loading the data. The function returns a `xarray DataSet`, in order to be compliant with `openeo-processes-dask`, it can be converted to a `DataArray` using the `Dataset.to_array(dim='variable', name=None)` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you using variable
in Dataset.to_array(dim='variable', name=None)
or bands
at EODC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, 'variable' is the default in the xarray documentation, we are actually using 'bands'.
update to_array('bands')
@clausmichele do you want to add a section about client side processing? :) |
@ValentinaHutter yes as soon as I have time, it's in my to do list :) |
Is this still planned to be finished? |
Hi @m-mohr, yes it is planned but I totally forgot about it, I will try to update this week. |
4ef0b9e
to
172284c
Compare
I finally found the time to do this, once Valentina merges my contribution to her fork, @m-mohr can proceed with the merge of this PR. |
Update and rename opendatacube.md to xarray.md
@m-mohr you can merge this now! |
@clausmichele @ValentinaHutter You need to update the link in .vuepress/config.js. It still points to opendatacube. |
Thank you everyone! |
I was just about to update the enhanceApp.js, and saw that you did that now, thank you! |
Update to point to openeo-processes-dask and openeo-pg-parser-networkx.