Class BufrIosp2

  • All Implemented Interfaces:
    ucar.nc2.iosp.IOServiceProvider

    public class BufrIosp2
    extends ucar.nc2.iosp.AbstractIOServiceProvider
    IOSP for BUFR data - version 2, using the preprocessor.
    Since:
    8/8/13
    • Constructor Detail

      • BufrIosp2

        public BufrIosp2()
    • Method Detail

      • setDebugFlags

        public static void setDebugFlags​(ucar.nc2.util.DebugFlags debugFlag)
      • isValidFile

        public boolean isValidFile​(ucar.unidata.io.RandomAccessFile raf)
                            throws IOException
        Throws:
        IOException
      • isBuilder

        public boolean isBuilder()
        Specified by:
        isBuilder in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        isBuilder in class ucar.nc2.iosp.AbstractIOServiceProvider
      • build

        public void build​(ucar.unidata.io.RandomAccessFile raf,
                          ucar.nc2.Group.Builder rootGroup,
                          ucar.nc2.util.CancelTask cancelTask)
                   throws IOException
        Specified by:
        build in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        build in class ucar.nc2.iosp.AbstractIOServiceProvider
        Throws:
        IOException
      • buildFinish

        public void buildFinish​(ucar.nc2.NetcdfFile ncfile)
        Specified by:
        buildFinish in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        buildFinish in class ucar.nc2.iosp.AbstractIOServiceProvider
      • open

        public void open​(ucar.unidata.io.RandomAccessFile raf,
                         ucar.nc2.NetcdfFile ncfile,
                         ucar.nc2.util.CancelTask cancelTask)
                  throws IOException
        Specified by:
        open in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        open in class ucar.nc2.iosp.AbstractIOServiceProvider
        Throws:
        IOException
      • open

        public void open​(ucar.unidata.io.RandomAccessFile raf,
                         ucar.nc2.NetcdfFile ncfile,
                         Message single)
                  throws IOException
        Throws:
        IOException
      • sendIospMessage

        public Object sendIospMessage​(Object message)
        Specified by:
        sendIospMessage in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        sendIospMessage in class ucar.nc2.iosp.AbstractIOServiceProvider
      • getElem

        public org.jdom2.Element getElem()
      • readData

        public ucar.ma2.Array readData​(ucar.nc2.Variable v2,
                                       ucar.ma2.Section section)
      • getStructureIterator

        public ucar.ma2.StructureDataIterator getStructureIterator​(ucar.nc2.Structure s,
                                                                   int bufferSize)
        Specified by:
        getStructureIterator in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        getStructureIterator in class ucar.nc2.iosp.AbstractIOServiceProvider
      • getDetailInfo

        public String getDetailInfo()
        Specified by:
        getDetailInfo in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        getDetailInfo in class ucar.nc2.iosp.AbstractIOServiceProvider
      • getFileTypeId

        public String getFileTypeId()
      • getFileTypeDescription

        public String getFileTypeDescription()