Hi Grabiella,<br>
<br>
I just check my <a href="http://lats4d.gs">lats4d.gs</a> and it is version 1.4 of 19 Dec 2002.<br>
<br>
The strange thing is that I have no '<a href="http://a.gs">a.gs</a>' in my grads tree. Check<br>
inside your <a href="http://lats4d.gs">lats4d.gs</a> to figure out what version are you using and<br>
where it calls for this '<a href="http://a.gs">a.gs</a>' script. You can also check the permission<br>
bits of <a href="http://a.gs">a.gs</a> to see if you have access to it.<br><br>
By the way, did you specify a table?<br>
<br>
Cheers,<br>
Henrique<br>
<br><div><span class="gmail_quote">On 10/20/05, <b class="gmail_sendername">Gabriella Ceci</b> <<a href="mailto:g.ceci@cira.it">g.ceci@cira.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font color="#333399" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153);" lang="EN-GB">Hi Henrique,</span></font></p>
<p><font color="#333399" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153);" lang="EN-GB">I tried just now to
use the command you proposed:</span></font></p>
<p><font color="#333399" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153);" lang="EN-GB"> </span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs -v -i prova.ctl -o output.grib -format grads_grib
-ftype ctl</span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="#333399" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153);" lang="EN-GB">…the answer is:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs: ./a.gs: Permission denied</span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs: ./a.gs: Permission denied</span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs: ./a.gs: Permission denied</span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs: line 4: syntax error near unexpected token `(h'</span></font>
</p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">./lats4d.gs: line 4: `* files from GrADS using the PCMDI
(<a href="http://www-pcmdi.llnl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www-pcmdi.llnl.gov</a>) LATS'</span></font></p>
<p style="margin-left: 35.4pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><a href="http://a.gs" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">a.gs</a>
is a file in my working
directory (???).</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">But I'm using <a href="http://lats4d.gs" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lats4d.gs</a>
that I downloaded </span></font><font color="#333399" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153);" lang="EN-GB">in the
grads scripting libraries….why it doesn't work??</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">What version of <a href="http://lats4d.gs" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lats4d.gs</a>
are you using?? </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Cheers,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Gabriella</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Da:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
GRADSUSR@LIST.CINECA.IT</a> [mailto:<a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">GRADSUSR@LIST.CINECA.IT</a>] <b><span style="font-weight: bold;">Per conto di
</span></b>Henrique Barbosa<br>
<b><span style="font-weight: bold;">Inviato:</span></b> mercoledì 19 ottobre 2005
22.45<br>
<b><span style="font-weight: bold;">A:</span></b> <a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">GRADSUSR@LIST.CINECA.IT</a><br>
<b><span style="font-weight: bold;">Oggetto:</span></b> Re: writing GRIB</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Eric,<br>
<br>
You are not misunderstanding, using lats4d is exactly<br>
what eric should do. Well, at least I do that almost every day<br>
to convert binary to grid:<br>
<br>
here's the command I use<br>
<br>
lats4d -v -i input.ctl -o output.grib -format grads_grib -ftype ctl -grid
gaussian -table my_table<br>
<br>
Of course you gonna need a grib table for that.<br>
<br>
Cheers,<br>
Henrique<br>
<br>
</span></font></p>
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 10/19/05, <b><span style="font-weight: bold;">Eric
DeWeaver</span></b> <<a href="mailto:deweaver@aos.wisc.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">deweaver@aos.wisc.edu</a>>
wrote:</span></font></span></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi Tom,<br>
<br>
If you haven't already, maybe you should take a look at the<br>
documentation for <a href="http://lats4d.gs" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lats4d.gs</a>, available in the
grads scripting libraries.<br>
There's an option -format grib, which apparently tells lats4d to write out <br>
a grib file. I've never tried this, and I may be misunderstanding<br>
what I'm reading, but it could be worth a look.<br>
<br>
Good luck,<br>
<br>
Eric<br>
<br>
<br>
<br>
On Wed, 19 Oct 2005, Burns Tom wrote:<br>
<br>
> Yes. I did read your responses and they were interesting, but in my <br>
> situation I have to have the files written in GRIB format. Writing out the<br>
> GrADS binary format is not sufficient.<br>
><br>
> Is it possible to write out a grib file in GrADS in the manner I
originally <br>
> described?<br>
><br>
> -Tom<br>
></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</blockquote></div><br>