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

Notebook "Sentinel2_data_download_to_array.ipynb" not working #21

Open
SergioRoyMartinez opened this issue Mar 19, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@SergioRoyMartinez
Copy link

I tried first to run one of your examples using a Jupyter notebook without luck (sentinel2_data_download_to_array), unfortunately. I modified the modules path and eodal path as indicated, and this first cell seems to run without errors. Also, the following cells defining functions, eodal query parameters and so on are working. But when we get to dowload/load the images, I get an error. Apparently is finding the scenes but an exception arises because it "can not initialize new Band instance: Must pass either crs or epsg" (I add screenshot).

I tried also to run it using the container provided, but the same error appears. Thus, the Python and modules versions are the ones specified in the dockerfile. My OS is Windows 10 Enterprise.

Thanks in advance.
Best Regards.
eo4dalcontainer2
eo4dalcontainer
eo4dalerror

@lukasValentin
Copy link
Collaborator

Hi @orianif could you please have a look as the author of this notebook?

@lukasValentin lukasValentin added the bug Something isn't working label Mar 27, 2024
@orianif
Copy link
Contributor

orianif commented Mar 27, 2024

Hi Sergio,

I cannot see from the screenshot the entire cascade of functions for the error, but it looks like EOdal does not find the CRS from the band it is adding. Could you provide more screenshots to see where the .addband method is called in the notebook? Also, are you using the provided .gpkg file as region of interest or you changed it with a correctly referenced shapfile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants