Class Ghcnm2

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

    public class Ghcnm2
    extends ucar.nc2.iosp.AbstractIOServiceProvider
    NOMADS Ghcnm2 LOOK probable file leaks
    Since:
    Feb 26, 2011
    • Constructor Detail

      • Ghcnm2

        public Ghcnm2()
    • Method Detail

      • isValidFile

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

        public String getFileTypeId()
      • getFileTypeDescription

        public String getFileTypeDescription()
      • getFileTypeVersion

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

        public void open​(ucar.unidata.io.RandomAccessFile raff,
                         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
      • close

        public void close()
                   throws IOException
        Specified by:
        close in interface ucar.nc2.iosp.IOServiceProvider
        Overrides:
        close in class ucar.nc2.iosp.AbstractIOServiceProvider
        Throws:
        IOException
      • readData

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

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