NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
On Thu, 13 Mar 2008, Tatsuya Noyori wrote:
Hello, It seems like a bug. if so, I would appreciate it if unidata team would fix the bug.
Tatsuya, Not a bug... the DataType=48 in the file is wrong, it can only be values 0,64,128,196: BUFR Documentation: Bit 1 = 1 observed data = 0 other data Bit 2 = 1 compressed data = 0 non-compressed data Bit 3 - 8 set to zero (reserved) I even remove 3-8 bit values that resulted in DataType =0 but then the descriptors were outside the range ie 0-48-50, in table 12 the highest 0 descriptor is 0-35- Contact the data provider for more information. if( dds.getDataType() == 192 || dds.getDataType() == 64 ) { isCompressed = true; compressed(); } else if( dds.getDataType() == 128 || dds.getDataType() == 0 ) { isCompressed = false; uncompressed(); } else {System.out.println( "Unknown DDS DataType ="+ dds.getDataType() );
return false; Robb... =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ===============================================================================
decoders
archives: