grass-addons icon indicating copy to clipboard operation
grass-addons copied to clipboard

[Bug] i.sentinel.coverage: cannot download Sentinel-1 SLC data

Open neteler opened this issue 4 years ago • 1 comments

Name of the addon i.sentinel.coverage

Describe the bug

I do not manage to download Sentinel-1 SLC data:

GRASS nc_spm_08_grass7/user1 >
i.sentinel.coverage settings=~/.sentinel_esa output=s2names.txt producttype=SLC minpercent=95 area=county_durham_dp1000 start=2020-10-01 end=2021-01-31
Retrieving Sentinel footprints from ESA hub ...
ERROR: The name of the scene must have a format of e.g.
       S2A_MSIL1C_YYYYMMDDT155901_N0206_R097_T17SPV_20180822T212023

Maybe I am missing something (wrong parameter)?

Expected behavior i.sentinel.coverage should not attempt to download S2 when SLC is requested by user.

System description (please complete the following information):

  • Fedora 33
  • GRASS GIS version 7.8.git

neteler avatar Feb 23 '21 22:02 neteler

This bug is due to the fact that SLC scenenames have one more _ (underscore), which confuses the identification of scene specifications by ' '.split('_'). This is fixed in #453

griembauer avatar Feb 26 '21 14:02 griembauer

Thanks for the fix (hint: using stop-words in PRs closes issues automatically like fixes #1234).

neteler avatar Oct 28 '22 20:10 neteler