<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying to use i.sentinel.mask on a Sentinel2
L2A.
</div><div dir="ltr"><br></div><div dir="ltr">i.sentinel.mask -r input_file=input_cloud_mask.txt cloud_mask=cloud shadow_mask=shadow cloud_threshold=25000 shadow_threshold=5000 mtd_file=MTD_TL.xml<br><br>TheĀ
input_cloud_mask.txt
file:<br><br>blue=L2A_T34UGD_20161206T094402_B02_10m<br>green=L2A_T34UGD_20161206T094402_B03_10m<br>red=L2A_T34UGD_20161206T094402_B04_10m<br>swir11=L2A_T34UGD_20161206T094402_B11_20m<br>nir=L2A_T34UGD_20161206T094402_B08_10m<br>swir12=L2A_T34UGD_20161206T094402_B12_20m<br>nir8a=L2A_T34UGD_20161206T094402_B8A_20m<br clear="all"></div><div dir="ltr"><br></div><div>I get the following error:</div><div><br></div><div>WARNING: Any rescale factor has been applied<br>ERROR: Raster maps must be DCELL o FCELL<br></div><div><br></div><div>I didn't use i.sentinel.preproc because our colleagues already preprocess L1C images and provide L2A, but AFAIU here I should start from a L1C image, and preprocess it with i.sentinel.preproc otherwise I can't apply i.sentinel.mask, is this correct? <br></div><div><br></div><div>Thanks for any pointers</div><div>Regards,<br></div><div><br></div><div dir="ltr">-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#666666">Margherita Di Leo</font></div></div></div></div></div></div></div></div></div></div></div></div>