<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Hi,
<br />try with <font size="2"><span lang="en" class="yiv645829035" id="yiv645829035result_box"><span class="yiv645829035hps">&quot;options byteswapped</span><span class="yiv645829035hps"> template&quot;</span></span></font>.
<br />It seems you put &quot;options&quot; at the end of the line.
<br />
<br />Regards,
<br />Ricardo
<br />
<br /><font size="2"><b>On Tue, 13 Mar 2012 12:46:21 -0700 (PDT), Soetania Santos de Oliveira 
wrote</b>
<br />&gt; 
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr><td valign="top" style="font: inherit;">
<br />&gt; 
<table cellspacing="0" cellpadding="0" border="0" class="yiv645829035" id="yiv645829035bodyDrftID">
<tbody>
<tr><td style="font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -moz-font-feature-settings: inherit; -moz-font-language-override: inherit; font-family: arial; font-size: 10pt;" id="yiv645829035drftMsgContent"><span lang="en" class="yiv645829035" id="yiv645829035result_box"><span class="yiv645829035hps">Hello!</span>
<br />&gt; 
<br />&gt;  <span class="yiv645829035hps">I'm having trouble</span> <span class="yiv645829035hps">running</span> <span class="yiv645829035hps">a</span> 
<span class="yiv645829035hps">script</span><span>.</span> <span class="yiv645829035hps">I have</span> <span class="yiv645829035hps">a</span> 
<span class="yiv645829035hps">template.ctl</span><span>:</span>
<br />&gt; 
<br />&gt; 
 <span class="yiv645829035hps">dset</span> <span class="yiv645829035hps">^</span> <span class="yiv645829035hps">wrfout_d03_201203</span><span>%</span> 
<span class="yiv645829035hps">d2</span><span>%</span>h<span class="yiv645829035hps">2.dat</span>
<br />&gt;  <span class="yiv645829035hps">byteswapped</span> <span class="yiv645829035hps">template</span> <span class="yiv645829035hps">options</span>
<br />&gt;  <span class="yiv645829035hps">undef</span> <span class="yiv645829035hps">1.e30</span>
<br />&gt;  <span class="yiv645829035hps">xdef</span> <span class="yiv645829035hps">48</span> 
<span class="yiv645829035hps">levels</span>
<br />&gt;  <span class="yiv645829035hps">...</span>
<br />&gt;  <span class="yiv645829035hps">ydef</span> <span class="yiv645829035hps">30</span> 
<span class="yiv645829035hps">levels</span>
<br />&gt;  <span class="yiv645829035hps">...</span>
<br />&gt;  <span class="yiv645829035hps">ZDEF</span> <span class="yiv645829035hps">19</span> 
<span class="yiv645829035hps">levels</span>
<br />&gt;  <span class="yiv645829035hps">...
<br />&gt; 
<br />&gt; </span> <span class="yiv645829035hps">and</span> <span class="yiv645829035hps">a</span> 
<span class="yiv645829035hps">script</span> <span class="yiv645829035hps">to call 
this</span> <span class="yiv645829035hps">template.ctl</span><span>:</span>
<br />&gt; 
<br />&gt;  
<span class="yiv645829035hps">'open</span> <span class="yiv645829035hps">wrfout_d03_template.ctl</span><span>'</span>
<br />&gt;  
<span class="yiv645829035hps">*</span>
<br />&gt;  <span class="yiv645829035hps">'set</span> <span class="yiv645829035hps">t 1</span> 
<span class="yiv645829035hps">last'</span>
<br />&gt;  <span class="yiv645829035hps 
yiv645829035atn">'</span><span>set lat</span> <span class="yiv645829035hps">-7.5</span><span>'</span>
<br />&gt;  <span class="yiv645829035hps yiv645829035atn">'</span><span>set lon</span> <span class="yiv645829035hps">-35</span><span>'</span>
<br />&gt;  <span class="yiv645829035hps
 yiv645829035atn">'</span><span>d</span> <span class="yiv645829035hps 
yiv645829035atn">mag (</span><span>u</span><span class="yiv645829035">,</span> 
<span class="yiv645829035hps">v</span><span>)</span><span>'</span>
<br />&gt; 

<br />&gt;  <span class="yiv645829035hps">But</span> <span class="yiv645829035hps">when I try to</span> <span class="yiv645829035hps">call 
it</span> <span class="yiv645829035hps">appears</span> <span class="yiv645829035hps">the following</span> <span class="yiv645829035hps">error 
message</span> in <span class="yiv645829035hps">displayed</span><span class="yiv645829035hps"></span><span>:
<br />&gt; 
<br />&gt; ga-&gt; teste1.gs 

<br />&gt; No hardcopy metafile open
<br />&gt; All files closed; all defined objects 
released;
<br />&gt; All GrADS attributes have been reinitialized
<br />&gt; Open 
Error:  Can't open binary data file
<br />&gt;   File name = 
wrfout_d03_201203%d2%h2.dat
<br />&gt; SET Error:  No files open yet
<br />&gt; 
SET Error:  No files open yet
<br />&gt; SET Error:  No files 
open
 yet
<br />&gt; DISPLAY error:  no file open yet
<br />&gt; 
<br />&gt; </span><span class="yiv645829035hps">Why</span> <span class="yiv645829035hps">is this 
happening?</span>
<br />&gt;  <span class="yiv645829035hps">Thank you</span><span class="yiv645829035">!</span></span>
<br />&gt; 
<br />&gt; S. Oliveira.
<br />&gt; 

<br />&gt; 
</td></tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>

<br />
</font>

</BODY>
</HTML>