<div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Hi all,</span><br><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">I want to remove SST data of one box ({03N - 12N}, {90E- 140E}) and then find the correlation between remaining SST data and rainfall index. I want to know how can I remove the SST data of that box. SST data has 3 dimensions. I used mask function but I got error message. </span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">x =  fin2->sst(:,:,:)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">    x@lat2d = fin2->latitude</span></div><div><span style="font-size:12.8px">    x@lon2d = fin2->longitude</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">    latMin  = 03</span></div><div><span style="font-size:12.8px">    latMax  = 12</span></div><div><span style="font-size:12.8px">    lonMin  = 90</span></div><div><span style="font-size:12.8px">    lonMax  = 140</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">  x   = mask (x, conform(x, (x@lat2d.ge.latMin .and.x@lat2d.le.latMax .and.x@lon2d.ge.lonMin .and.x@lon2d.le.lonMax), (/1,2/)), True)</span></div><div><span style="font-size:12.8px">printVarSummary(x)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:medium;color:rgb(0,0,0);font-family:"Times New Roman"">The error message : </span><font color="#000000" face="Times New Roman" size="3">Dimension size, for dimension number 0, of operands does not match, can't continue</font><br></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Thanks for your help.</span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Dinuka</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>