Skip to content

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

Open

Description

@Topping1

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.

Activity

  1. IgnacioHeredia commented on Jan 24, 2023

    @IgnacioHeredia
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions