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

Exception: Sentinel2 L2A is temporarily not supported due to version conflicts in the base Docker image #4

Open
Topping1 opened this issue Jan 24, 2023 · 1 comment

Comments

@Topping1
Copy link

When I try to run the program with the Sentinel 2 sample data provided in the satsr repository link, I get the following error:

ERROR aiohttp.server Exception: Sentinel2 L2A is temporarily not supported due to version conflicts in the base Docker image

is this something that can be fixed easily? I am using the docker image by the way.

@IgnacioHeredia
Copy link
Member

Hi @Topping1,

the error comes from here.
As you can see, the error is due to the fact that the image has an old GDAL version. It's been a long time since I haven't touched this repo but I vaguely remember that the image (which is based on Tensorflow 1.14, aka Ubuntu 18.04) didn't support a more recent GDAL.

Possible solutions (from easier to hard?):

  • modify/build the Docker image yourself trying to manually install a more recent GDAL in that Ubuntu 18.04 image.
  • modify/build the Docker image yourself trying to start from a (more recent) raw Ubuntu image (20.04?) and install Tensorflow 1.14 and a newer GDAL yourself.
  • fork this repo and try to port the code to a more recent version of Tensorflow. Then modify the Docker image to start from that Tensorflow version image and install a newer GDAL.

Unfortunately I haven't time to implement at the moment neither of those solutions myself, but will be happy to hear from your progress in case you go for it!

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

No branches or pull requests

2 participants