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

Cloud shadows show rectangular artifacts #33

Closed
lnicola opened this issue Mar 22, 2024 · 1 comment
Closed

Cloud shadows show rectangular artifacts #33

lnicola opened this issue Mar 22, 2024 · 1 comment

Comments

@lnicola
Copy link

lnicola commented Mar 22, 2024

Hello. We noticed some rectangular artifacts in the masks producted by Fmask 4.4, for example:

image

(S2B_MSIL1C_20200112T111329_N0208_R137_T30TUN_20200112T114220.SAFE)

The thresholds in the command line were 3 3 0 10.

Fmask 4.4 start ...
Cloud/cloud shadow/snow dilated by 3/3/0 pixels.
Cloud probability threshold of 10.00%.
Load or calculate TOA reflectances.
Detect potential clouds, cloud shadows, snow, and water.
Match cloud shadows with clouds.
Fmask 4.4 finished (31.75 minutes)
for L1C_T30TUN_A014892_20200112T111437 with 41.29% clear pixels

I haven't looked too closely, but I suspect we don't have the auxiliary data installed correctly. Still, filing this now for future reference and in case anyone else runs into the same problem.

@lnicola
Copy link
Author

lnicola commented Sep 3, 2024

This was indeed caused by the missing auxiliary data. There's no complaint in the log, but I guess 4.4 was silently updated to add that warning.

If you've ran into this problem, note that the 4.6 package has a copy of run_Fmask_4_4.sh that you're supposed to copy to /usr/GERS/Fmask_4_6/application. Don't forget to do that, but the script is still wrong because it puts the path at the start of the arguments, not at the end, see #22 (comment).

@lnicola lnicola closed this as completed Sep 3, 2024
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

1 participant