Class NmcObsLegacy

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

    public class NmcObsLegacy
    extends ucar.nc2.iosp.AbstractIOServiceProvider
    NMC Office Note 29
    Since:
    Feb 22, 2008
    • Field Summary

      • Fields inherited from class ucar.nc2.iosp.AbstractIOServiceProvider

        location, ncfile, raf, rafOrder
    • Constructor Summary

      Constructors 
      Constructor Description
      NmcObsLegacy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getFileTypeDescription()  
      String getFileTypeId()  
      boolean isValidFile​(ucar.unidata.io.RandomAccessFile raf)  
      void open​(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask)  
      ucar.ma2.Array readData​(ucar.nc2.Variable v, ucar.ma2.Section section)  
      ucar.ma2.Array readReport​(ucar.nc2.Variable v, ucar.ma2.Section section)  
      ucar.ma2.Array readReportIndex​(ucar.nc2.Variable v, ucar.ma2.Section section)  
      • Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider

        build, buildFinish, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebug
    • Constructor Detail

      • NmcObsLegacy

        public NmcObsLegacy()
    • Method Detail

      • isValidFile

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

        public String getFileTypeId()
      • getFileTypeDescription

        public String getFileTypeDescription()
      • 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
      • readData

        public ucar.ma2.Array readData​(ucar.nc2.Variable v,
                                       ucar.ma2.Section section)
                                throws IOException
        Throws:
        IOException
      • readReportIndex

        public ucar.ma2.Array readReportIndex​(ucar.nc2.Variable v,
                                              ucar.ma2.Section section)
      • readReport

        public ucar.ma2.Array readReport​(ucar.nc2.Variable v,
                                         ucar.ma2.Section section)
                                  throws IOException
        Throws:
        IOException