Error while using S1 Tiling docker

Hi,
According to the document at Usage — S1Tiling 0.3.2 documentation I tried to run S1 Tiling docker as below:
docker run -v /mnt:/MNT -v “$(pwd)”:/data -v $HOME/.config/eodag:/eo_config --rm -it registry.orfeo-toolbox.org/s1-tiling/s1tiling:0.3.2-ubuntu-otb7.4.0 /data/Main_work/cloud_removing/S1Processor.cfg

the last item is the directory where I have put the sample “.cfg” file downloaded from this link “Usage — S1Tiling 0.3.2 documentation”.
But after running, this error encountered:
“CRITICAL - ERROR: tmpdir=/datalocal2/share2/tmp is not a valid path”

I tried to change the “tmpdir” to some other directories but did not work. By downloading the “.cfg” file you can see these lines:

# Path to a temporary file
tmp : /datalocal2/share2/tmp
# tmp : %(TMPDIR)s/s1tiling
My operating system is “Ubuntu 20.04.4 LTS” and running S1 Tilling 0.3.2-ubuntu-otb7.4.0 docker version.
As I am new to S1 Tiling, I do not know where the problem is, so I would appreciate any help. My general purpose is to download some sentinel1 images and then let S1 Tiling to process them and I will do some future processes on the outputs.
Regards

Hi,

The directory shall be a directory that will exist as seen from the docker perspective (not from your machine perspective).

If you mount your current running directory as “/data”, then in the docker it’ll be seen as “/data”. There is no “/datalocal2” from the docker perspective. Am I clear enough?

Hi,
Thanks for your reply. If I understand well, instead of using “/datalocal2”, I should give the point where the container is mounted to the local machine which is “/data” here.
Best wishes

Hello,
I use S1TILING with docker, I would like to download Sentinel-1 data and use it with Sentinel-2 data. here is my config file
S1Processor.cfg (10.3 KB)

I used it to process 4 tiles of sentinel-2, and now I would like to use it to compute the tile “31TGK”, but It doesn’t work now.
I have this message error:
Error: Cannot request products for tile 31TGK on data provider: 400 Client Error: Bad Request for url: https://catalogue.dataspace.copernicus.eu/resto/api/collections/Sentinel1/search.json?polarizationMode=VV%20VH&sensorMode=IW&orbitDirection=ascending&startDate=2023-01-01&completionDate=2023-12-31&geometry=POLYGON%20((5.4998%2044.0998,%205.4998%2045.1255,%206.9361%2045.1255,%206.9361%2044.0998,%205.4998%2044.0998))&productType=GRD&maxRecords=20&page=4&exactCount=1

I need some help please.

THank you

Hello Mamadou.

Sorry for the late answer. It seems like eodag forwards a filter to Copernicus API which is not supported. I’ll see with eodag team what we can do.

Could you use another data provider like PEPS in the mean time?

EDIT: I’d need more context to be sure like:

  • which docker are you using?
  • what’s the content of your eodag config file (without the login/password of course)

This is a bug in S1Tiling, that will be fixed in future versions.

In the mean time you can remap the polarisation parameter name for Copernicus provider with the following lines in your eodag.yml file:

cop_dataspace:
...
  search:   # Search parameters configuration: the part that needs the patch
    metadata_mapping:
      polarizationMode:
        - polarisation
        - '$.properties.polarisation'
...

Thank you for your reply and sorry to answer you late. I download S1 data from another provider, and It run without problem.

You’re welcome.

And thank you for reporting the issue. It’s has been reported to EODAG we use internally to obtain data. It will be fixed.