<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">"options byteswapped</span><span class="yiv645829035hps"> template"</span></span></font>.
<br />It seems you put "options" 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 />>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr><td valign="top" style="font: inherit;">
<br />>
<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 />>
<br />> <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 />>
<br />>
<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 />> <span class="yiv645829035hps">byteswapped</span> <span class="yiv645829035hps">template</span> <span class="yiv645829035hps">options</span>
<br />> <span class="yiv645829035hps">undef</span> <span class="yiv645829035hps">1.e30</span>
<br />> <span class="yiv645829035hps">xdef</span> <span class="yiv645829035hps">48</span>
<span class="yiv645829035hps">levels</span>
<br />> <span class="yiv645829035hps">...</span>
<br />> <span class="yiv645829035hps">ydef</span> <span class="yiv645829035hps">30</span>
<span class="yiv645829035hps">levels</span>
<br />> <span class="yiv645829035hps">...</span>
<br />> <span class="yiv645829035hps">ZDEF</span> <span class="yiv645829035hps">19</span>
<span class="yiv645829035hps">levels</span>
<br />> <span class="yiv645829035hps">...
<br />>
<br />> </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 />>
<br />>
<span class="yiv645829035hps">'open</span> <span class="yiv645829035hps">wrfout_d03_template.ctl</span><span>'</span>
<br />>
<span class="yiv645829035hps">*</span>
<br />> <span class="yiv645829035hps">'set</span> <span class="yiv645829035hps">t 1</span>
<span class="yiv645829035hps">last'</span>
<br />> <span class="yiv645829035hps
yiv645829035atn">'</span><span>set lat</span> <span class="yiv645829035hps">-7.5</span><span>'</span>
<br />> <span class="yiv645829035hps yiv645829035atn">'</span><span>set lon</span> <span class="yiv645829035hps">-35</span><span>'</span>
<br />> <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 />>
<br />> <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 />>
<br />> ga-> teste1.gs
<br />> No hardcopy metafile open
<br />> All files closed; all defined objects
released;
<br />> All GrADS attributes have been reinitialized
<br />> Open
Error: Can't open binary data file
<br />> File name =
wrfout_d03_201203%d2%h2.dat
<br />> SET Error: No files open yet
<br />>
SET Error: No files open yet
<br />> SET Error: No files
open
yet
<br />> DISPLAY error: no file open yet
<br />>
<br />> </span><span class="yiv645829035hps">Why</span> <span class="yiv645829035hps">is this
happening?</span>
<br />> <span class="yiv645829035hps">Thank you</span><span class="yiv645829035">!</span></span>
<br />>
<br />> S. Oliveira.
<br />>
<br />>
</td></tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>
<br />
</font>
</BODY>
</HTML>