<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi,
<div><br /></div>
<div>I’m trying to conform 2 1D-vectors to the same length but I think the comform functions can only handle N-D arrays where N&gt;1. For example:</div>
<div><br /></div>
<div>
<div>thour = mask(thour,conform(thour, (phour.eq.thour.and. \</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;pyear.eq.oyear.and. \</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;pmonth.eq.omonth.and. \</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;pday.eq.oday),(/0/)),False),</div>
</div>
<div>where thour and phour, pyear, pmonth, and pday are of slightly different lengths (all p* variables have the same length).</div>
<div>This statement returns an error:</div>
<div><br /></div>
<div>fatal:Eq: Dimension size, for dimension number 0, of operands does not match, can't continue.<br /></div>
<div><br /></div>
<div>I know this is a bit of a trick I’m trying that doesn’t seem to work. Is there a work-around for doing something like this?</div>
<div>What I’m trying to do is to remove common times when 2 MHS granules overlap.</div>
<div><br /></div>
<div>Any help is appreciated,</div>
<div>/M</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
<div><br /></div>
<div><br /></div>
</div>
</body>
</html>