-1

I'd like to mask some clouds in Sentinel-2-Images with the python-fmask-library. As I'm not too experienced with Python and remote sensing, I have some questions. When I installed the library I automatically could execute the command-line-tools. The fmask_sentinel2stacked.py works from the command line when giving as input the .safe-directory, as described here: http://www.pythonfmask.org/en/latest/ But the library also does have some "python-specific" modules like fmask.py and config.py. In fmask.py the function doFmask() takes as input two instances of other classes. These instances contain information about, for example the thermal bands. As Sentinel-2 does not have thermal bands there is already the first confusion. Actually I just wanted to ask if someone already has experience in using this package and what are the differences in using the command line interface vs. the import of Python modules.

0

Make sure your .SAFE directory has the same structure as the official one. Note: it will be easier to run py-mask in Linux.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.