Package ucar.nc2.iosp.noaa
Class Ghcnm2
- java.lang.Object
-
- ucar.nc2.iosp.AbstractIOServiceProvider
-
- ucar.nc2.iosp.noaa.Ghcnm2
-
- All Implemented Interfaces:
ucar.nc2.iosp.IOServiceProvider
public class Ghcnm2 extends ucar.nc2.iosp.AbstractIOServiceProviderNOMADS Ghcnm2 LOOK probable file leaks- Since:
- Feb 26, 2011
-
-
Constructor Summary
Constructors Constructor Description Ghcnm2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetFileTypeDescription()StringgetFileTypeId()StringgetFileTypeVersion()ucar.ma2.StructureDataIteratorgetStructureIterator(ucar.nc2.Structure s, int bufferSize)booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)voidopen(ucar.unidata.io.RandomAccessFile raff, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask)ucar.ma2.ArrayreadData(ucar.nc2.Variable v2, ucar.ma2.Section section)
-
-
-
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:
getFileTypeVersionin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getFileTypeVersionin classucar.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:
openin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
openin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
closein classucar.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:
getStructureIteratorin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getStructureIteratorin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
-