Dumping a GRIB file using lats4d
Arlindo da Silva
dasilva at ALUM.MIT.EDU
Mon Sep 17 17:18:42 EDT 2007
Hi,
lats4d: Version 1.3 of 16 June 2000
This is old. Can you try the latest? Search the list for URL...
Arlindo
On 9/17/07, Ernani de Lima Nascimento <elnascimento at ufpr.br> wrote:
> Hello,
> Probably this has been discussed before, but here is the problem I am facing:
>
> With GRADSv1.8 I generate a binary file using the "gxout fwrite" option,
> and the content of this binary file is just fine (I create an appropriate
> .ctl for it). Now, from this binary file -- which, as a test, contains a
> simple divergence field -- I want to generate a GRIB file using the lats4d
> script.
>
> The command line I am using is:
> lats4d -v -i test_hdivg -o filename_grib -format grib -table table_test
>
> (I have created a parameter file called "table_test", but the same error
> message appears when I use -table @my.table or -table =, or when I simply
> drop -table altogether)
>
> From which I get:
>
> GX Package Initialization: Size = 11 8.5
> Running in Batch mode
> lats4d: Version 1.3 of 16 June 2000
> No hardcopy metafile open
> All files closed; all defined objects released
> All GrADS attributes have been reinitialized
> lats4d: Data file is
> File 1 : test_hdivg
> Descriptor: test_hdivg.ctl
> Binary: test_hdivg.bin
> Type = Gridded
> Xsize = 101 Ysize = 51 Zsize = 1 Tsize = 1
> Number of Variables = 1
> div10 0 0 velocity divergence [1/s]
> lats4d: Dimension environment file same as data file
> SET LATS CONVENTION error: invalid argument using the default...
> lats4d: not really, we stop right here
> lats4d: error creating grib file filename_grib.grb
> lats4d: exiting from GrADS...
> No hardcopy metafile open
> GX package terminated
>
>
> The "SET LATS CONVENTION error" always shows up. In contrast, when running
> lats4d to generate a "grads_grib" file from the very same binary file,
> then it works fine. I am afraid there might be several possible sources
> for this type of error. I would appreciate if you could provide me with
> some orientation to sort this out. Sorry if this question has been
> answered before. Thanks!
>
> Regards!
> Ernani Nascimento
>
--
Arlindo da Silva
dasilva at alum.mit.edu
More information about the gradsusr
mailing list