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

[Bug] i.sentinel.download: give warning instead of errors if single files are corrupt #952

Open
ninsbl opened this issue Oct 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ninsbl
Copy link
Member

ninsbl commented Oct 12, 2023

i.sentinel.download

Describe the bug
Downloading does not succeed if there are cruft files on either the data provider side or in the directory to download to (".incomplete" files). i.sentinel.download should catch these cases and give a warning instead of an error...

To Reproduce
Not straight forward to reproduce. Put a protected S1A_IW_GRDH_1SDV_20230930T043121_20230930T043156_050552_0616C8_936A.SAFE.zip.incomplete file into the directory to download to or try to download S3B_OL_1_EFR____20230913T085813_20230913T090113_20230913T203837_0180_084_050_1800_PS2_O_NT_003.zip from the Norwegian Ground Segment...

Expected behavior
i.sentinel.download should throw a warning istead of erroring out, esp. in the case of ".incomplete" files all downloads are blocked.

System description (please complete the following information):

  • Operating System: Ubuntu Linux
  • GRASS GIS version 8.4

Additional context
Happens on CIFS mounted storage that incomplete files get stuck and are hard to remove. Issues on the provider side may be specific to the Norwegian Ground Segment....

@ninsbl ninsbl added the bug Something isn't working label Oct 28, 2023
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

1 participant