Class BufrDataDescriptionSection


  • @Immutable
    public class BufrDataDescriptionSection
    extends Object
    Represents Section 3 of a BUFR message.
    Since:
    May 10, 2008
    • Constructor Detail

      • BufrDataDescriptionSection

        public BufrDataDescriptionSection​(RandomAccessFile raf)
                                   throws IOException
        Constructs a BufrDataDescriptionSection object by reading section 3 from a BUFR file.
        Parameters:
        raf - RandomAccessFile, position must be on a BUFR section 3
        Throws:
        IOException - on read error
    • Method Detail

      • getOffset

        public final long getOffset()
        Offset to the beginning of BufrDataDescriptionSection.
        Returns:
        offset in bytes of BUFR record
      • getNumberDatasets

        public final int getNumberDatasets()
        Number of data sets in this record.
        Returns:
        datasets
      • getDataType

        public final int getDataType()
        Data type (compressed or non-compressed).
        Returns:
        datatype
      • isObserved

        public boolean isObserved()
        Observation data
        Returns:
        true if observation data
      • isCompressed

        public boolean isCompressed()
        Is data compressed?
        Returns:
        true if data is compressed
      • getDataDescriptors

        public final List<Short> getDataDescriptors()
        get list of data descriptors as Shorts
        Returns:
        descriptors as List
      • getDescriptors

        public final List<String> getDescriptors()
        get list of data descriptors as Strings
        Returns:
        descriptors as List