R: writing GRIB

Henrique Barbosa hmjbarbosa at GMAIL.COM
Thu Oct 20 10:41:30 EDT 2005


Hi Grabiella,

I just check my lats4d.gs <http://lats4d.gs> and it is version 1.4 of 19 Dec
2002.

The strange thing is that I have no 'a.gs <http://a.gs>' in my grads tree.
Check
inside your lats4d.gs <http://lats4d.gs> to figure out what version are you
using and
where it calls for this 'a.gs <http://a.gs>' script. You can also check the
permission
bits of a.gs <http://a.gs> to see if you have access to it.

By the way, did you specify a table?

Cheers,
Henrique

On 10/20/05, Gabriella Ceci <g.ceci at cira.it> wrote:
>
>  Hi Henrique,
>
> I tried just now to use the command you proposed:
>
>  ./lats4d.gs -v -i prova.ctl -o output.grib -format grads_grib -ftype ctl
>
>  …the answer is:
>
>  ./lats4d.gs: ./a.gs: Permission denied
>
> ./lats4d.gs: ./a.gs: Permission denied
>
> ./lats4d.gs: ./a.gs: Permission denied
>
> ./lats4d.gs: line 4: syntax error near unexpected token `(h'
>
> ./lats4d.gs: line 4: `* files from GrADS using the PCMDI (
> http://www-pcmdi.llnl.gov) LATS'
>
>  a.gs <http://a.gs> is a file in my working directory (???).
>
> But I'm using lats4d.gs <http://lats4d.gs> that I downloaded in the grads
> scripting libraries….why it doesn't work??
>
> What version of lats4d.gs <http://lats4d.gs> are you using??
>
>  Cheers,
>
> Gabriella
>
>    ------------------------------
>
> *Da:* GRADSUSR at LIST.CINECA.IT [mailto:GRADSUSR at LIST.CINECA.IT] *Per conto
> di *Henrique Barbosa
> *Inviato:* mercoledì 19 ottobre 2005 22.45
> *A:* GRADSUSR at LIST.CINECA.IT
> *Oggetto:* Re: writing GRIB
>
>  Eric,
>
> You are not misunderstanding, using lats4d is exactly
> what eric should do. Well, at least I do that almost every day
> to convert binary to grid:
>
> here's the command I use
>
> lats4d -v -i input.ctl -o output.grib -format grads_grib -ftype ctl -grid
> gaussian -table my_table
>
> Of course you gonna need a grib table for that.
>
> Cheers,
> Henrique
>
>  On 10/19/05, *Eric DeWeaver* <deweaver at aos.wisc.edu> wrote:
>
> Hi Tom,
>
> If you haven't already, maybe you should take a look at the
> documentation for lats4d.gs <http://lats4d.gs>, available in the grads
> scripting libraries.
> There's an option -format grib, which apparently tells lats4d to write out
>
> a grib file. I've never tried this, and I may be misunderstanding
> what I'm reading, but it could be worth a look.
>
> Good luck,
>
> Eric
>
>
>
> On Wed, 19 Oct 2005, Burns Tom wrote:
>
> > Yes. I did read your responses and they were interesting, but in my
> > situation I have to have the files written in GRIB format. Writing out
> the
> > GrADS binary format is not sufficient.
> >
> > Is it possible to write out a grib file in GrADS in the manner I
> originally
> > described?
> >
> > -Tom
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20051020/53a8f305/attachment.html 


More information about the gradsusr mailing list