<DIV> </DIV>
<DIV> </DIV>
<DIV>Hi all,</DIV>
<DIV> I am confused when using cdiff() function, the help doc tells that "Result values at the grid boundaries are set to missing", and I have difficulties when coping with writing the .ctl file created by that function.</DIV>
<DIV> My initial .grd data have a horizontal resolution of 360*180,with one time and height level,that is 360*180*4=259200bytes, when I use cdiff() function, it is 260640bytes, which means 360*181*4 or 362*180*4, by the way, I made the centered difference operation along the x and y direction and created two .grd files by using the "fwrite" command. When I display the new data , it only shows the ground map, and "Contouring: nan to nan interval inf ". Please give me some help by writing "XDEF and YDEF" in the newly created .ctl file .</DIV>
<DIV> Thanks!</DIV>
<DIV> </DIV>
<DIV> Eric</DIV><br><!-- footer --><br>
<hr>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50" height="50"><img src="http://mimg.163.com/hd/163/163footer/163footer_50.jpg" alt="LOGO" width="50" height="50"></td>
<td style="padding:5px;"><a style="font-size:12px;color:black; line-height:20px;text-decoration:none;" href="http://popme.163.com/link/003515_0929_938.html">把爱心注入牛奶,共同凝聚这份力量</a><br /><a style="font-size:12px;line-height:20px; color:black; text-decoration:none;" href="http://popme.163.com/link/003515_0929_938.html">快来参加蒙牛免费赠奶爱心行动 </a></td>
</tr>
</table>