Re: [bufrtables] Max bit error in reading bufr files (bufrscan grads utility)

NOTE: The bufrtables mailing list is no longer active. The list archives are made available for historical reasons.

Hi Malcolm:

I suspect that you have a malformed bufr record. Can you send an example of one 
that has this problem?

Malcolm Mistry wrote:
Hello!
I am trying to plot a bufr file in Grads and for this I require to use
Grad's 'bufrscan' utility to create a .ctl file (for Grads).

(bufrscan basically gives the header & body information of bufr file to
create a descriptor file for plotting in Grads)

When I run the bufrscan utility, initially I got errors (such as "unable
to find B3M-000-012-B table"). I have corrected this by downloading the
latest tables. So now bufrscan runs correctly and checks the bufr file.

However, it gives me a segmentation fault (below is a part of the output).
----------------------------------------------------------------------
warning: can't read 80-bit data value; max is 32
warning: can't read 256-bit data value; max is 32
warning: can't read 256-bit data value; max is 32
warning: can't read 192-bit data value; max is 32
warning: can't read 80-bit data value; max is 32
warning: can't read 256-bit data value; max is 32
warning: can't read 256-bit data value; max is 32
warning: can't read 192-bit data value; max is 32
warning: can't read 80-bit data value; max is 32
Segmentation fault
----------------------------------------------------------------------
I suppose the problem is the machines where i try to read this bufr file
is not able to handle the max bit size (of the data) in the bufr file.

I have tried to figure out where the max bit size is defined in the
tables (B, D etc)...but am unable to solve this. I have tried running
this on both 32 & 64 bit machines but get the same error (i suppose
thats because it needs 256 bits).

I was wondering if there is anyways to solve this problem (may be
increase the max bit in the tables)

Hoping someone can help me out.

Best regards
Malcolm
(Barcelona Supercomputing Center)

_______________________________________________
bufrtables mailing list
bufrtables@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the bufrtables archives: