<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div class="flex flex-grow flex-col gap-3">
<div class="min-h-[20px] flex items-start overflow-x-auto whitespace-pre-wrap break-words flex-col gap-4">
<div class="markdown prose w-full break-words dark:prose-invert light">
<p class="ContentPasted0">Hello,</p>
<p class="ContentPasted0">I have a problem:</p>
<p class="ContentPasted0 ContentPasted1">I have created the following mapfile:<a href="https://paste.ofcode.org/ianeSsdL45hJtDgh7SxMEm" id="LPlnk286961">https://paste.ofcode.org/ianeSsdL45hJtDgh7SxMEm</a><br>
</p>
<p class="ContentPasted0 ContentPasted1">it is based on the tileindex and time dimension.</p>
<p class="ContentPasted0">Along with Sentinel-2, cloud mask is attached in the form of a raster. As you can see, one of the attributes of my tile index is the path to the mask raster, from which I extract clouds and their shadows to use the MASK and mark clouds
 in the images.</p>
<p class="ContentPasted0">And it works.</p>
<p class="ContentPasted0">The problem is that when using the time dimension, the cloud mask is also applied to images from other dates where there are no clouds (there are only clouds for one specific date) :(</p>
<p class="ContentPasted0">The question is: How can I apply the mask only to the raster of each individual date for which it was created, so that I can effectively use masking and the time dimension?</p>
</div>
</div>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Best,
<div>Marcin</div>
<br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<table style="margin-top:30px;margin-bottom:30px;width:95%" id="tableSelected0">
<tbody>
<tr height="45">
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
<table id="pbpsiglinktable">
<tbody>
<tr>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><img data-outlook-trace="F:1|T:1" src="cid:2b3cfdde-291a-4d0a-9225-7199f357600a"></a></td>
<td></td>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" style="text-decoration: none; color: rgb(0, 120, 212);">Book time to meet with me</a></td>
<td>
<table>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>