<div>Hi Matt,</div>
<div>I just ga->run d:\<a href="http://mask.gs">mask.gs</a></div>
<div>and then got the erro messages.</div>
<div> </div>
<div>Now,I made some small changes to it.</div>
<div> </div>
<div>'reinit'<br>'set rgb 90 100 100 100 '<br>'set rgb 91 50 50 50 '<br>'set rgb 92 200 200 200'<br>_fnum = 0</div>
<div>* put input file name into the ofile argument</div>
<div>rc = ofile('d:\model.ctl')</div>
<div>* Select gridpoints for the mask</div>
<div>'set mpdset mres'<br>rc = newar<font style="BACKGROUND-COLOR: #ffcc66">(_fnum</font>)</div>
<div>'set gxout fwrite'<br> <br>* output file name as the fwrite operand</div>
<div>'set fwrite d:\maskarea.dat'<br> <font style="BACKGROUND-COLOR: #ffcc66"> fn = _fnum </font><font style="BACKGROUND-COLOR: #ffcc66"><br></font> 'set x 0.5 '%(_xnum.fn+0.5)<br> 'set y 0.5 '%(_ynum.fn+0.5)<br>
'set z 1'<br> 'set t 1'<br>'d maskarea'<br>say result<br><font style="BACKGROUND-COLOR: #ffcc66">'disable fwrite'</font></div>
<div><font style="BACKGROUND-COLOR: #ffcc66"></font> </div>
<div>It works now.</div>
<div>But I have got some new problems:</div>
<div><font style="BACKGROUND-COLOR: #ff9966">1:the size of maskarea.dat is (x+2)*(y+2)=93*48,(input file:model.dat x*y=91*46),why?</font></div>
<div>2:The mask data I selected from the interface is not equal to maskarea.dat,how to write the .ctl file for maskarea.dat(the XDEF,YDEF part).</div>
<div> </div>
<div>thanks in advance</div>
<div> </div>
<div>best regards</div>
<div> </div>
<div>luan<br><br></div>
<div class="gmail_quote">On Sun, Aug 1, 2010 at 9:12 AM, <span dir="ltr"><<a href="mailto:matt.alonso@gmail.com">matt.alonso@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi luan<br><br>How are you calling the script?<br><br>Matt<br>Sent from my Verizon Wireless BlackBerry<br>
<br>-----Original Message-----<br>From: luan jia <<a href="mailto:luanjab@gmail.com">luanjab@gmail.com</a>><br>Sender: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a><br>Date: Sun, 1 Aug 2010 09:08:27<br>
To: <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Reply-To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Subject: [gradsusr] about <a href="http://mask.gs/" target="_blank">mask.gs</a><br>
<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><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>
</blockquote></div><br>