<div dir="ltr">You check if your maskout data is same as your pdsi data ... If data values are different, it happens. Try to be careful when you are giving grid specification in Meteoinfo....<div><br></div><div style>Hope this solve your purpose..</div>
<div style><br></div><div style>Best regards,</div><div style><br></div><div style>Kishore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 14, 2013 at 12:34 PM, <span dir="ltr"><<a href="mailto:fairyes@zju.edu.cn" target="_blank">fairyes@zju.edu.cn</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Dear Kishore,</p>
<p>I followed with your suggestion and run the next check gs file:</p>
<p></p><div class="im">'sdfopen d:/grads/mada/data.cdf'<br>'open d:/grads/mada/maskout_china.ctl'<br></div>'set lon 61.25 143.75'<br>'set lat -8.75 56.25'<div class="im"><br>'set lev 0 0'<br>
'set e 1 1'<br></div>'set t 114'<br>'d maskout(pdsi,1)'<br>; <br>It shows all the area instead of china. So I changed my gs file following your suggestion, but it showed some errors as below:<p></p>
<p>data request error: invalid grid coordinates</p>
<p>world coordinates convert to non-integer grid coordinates</p>
<p>variable=mask.2 dimension=3</p>
<p>operation errer: error from maskout function and aave function and tloop function</p>
<p>and so on...</p>
<p>then I checked mask.2:</p>
<p></p><div class="im">'sdfopen d:/grads/mada/data.cdf'<br>'open d:/grads/mada/maskout_china.ctl'<br></div>'set lon 61.25 143.75'<br>'set lat -8.75 56.25'<div class="im"><br>'set lev 0 0'<br>
'set e 1 1'<br></div>'set t 114'<br>'d maskout(pdsi,mask.2)'<br>;<p></p>
<p>well, it also showed some errors:</p>
<p>data request error: invalid grid coordinates</p>
<p>world coordinates convert to non-integer grid coordinates</p>
<p>variable=mask.2 dimension=3</p>
<p>operation errer: error from maskout function </p>
<p>error ocurred at column 1</p>
<p>display error: invalid expression</p>
<p>expression= maskout(pdsi,mask.2)</p>
<p> </p>
<p>What's wrong with it? Does the ctl file I changed have some errors or other problems?</p><div class="im">
<p>Thanks a lot! Best regards!</p>
</div><p>Zhihong<br><span><br></span></p><div class="HOEnZb"><div class="h5">
<p> Zhihong Zhuo,Postgraduate Student</p>
<p><font face="Times New Roman"> College of Environmental and Resource Sciences, Zhejiang University</font></p>
<p><font face="Times New Roman">Address: 866 Yuhangtan Road, Hangzhou, China</font></p>
<p><font face="Times New Roman">Email: <a href="mailto:fairyes@zju.edu.cn" target="_blank">fairyes@zju.edu.cn</a></font></p>
<p><font face="Times New Roman"></font> </p></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>