Package ucar.nc2.iosp.dorade
Class Doradeiosp
- java.lang.Object
-
- ucar.nc2.iosp.AbstractIOServiceProvider
-
- ucar.nc2.iosp.dorade.Doradeiosp
-
- All Implemented Interfaces:
ucar.nc2.iosp.IOServiceProvider
public class Doradeiosp extends ucar.nc2.iosp.AbstractIOServiceProviderIOServiceProvider implementation abstract base class to read/write Dorade files
-
-
Field Summary
Fields Modifier and Type Field Description protected DoradeheaderheaderParserDoradeSweepmySweep
-
Constructor Summary
Constructors Constructor Description Doradeiosp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileTypeDescription()StringgetFileTypeId()booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)voidopen(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask)ucar.ma2.ArrayreadData(ucar.nc2.Variable v2, ucar.ma2.Section section)ucar.ma2.ArrayreadData1(ucar.nc2.Variable v2, ucar.ma2.Section section, float[] values)ucar.ma2.ArrayreadData2(ucar.nc2.Variable v2, ucar.ma2.Section section, double[] values)-
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
-
-
-
-
Field Detail
-
headerParser
protected Doradeheader headerParser
-
mySweep
public DoradeSweep mySweep
-
-
Method Detail
-
isValidFile
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
-
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:
openin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
openin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
readData
public ucar.ma2.Array readData(ucar.nc2.Variable v2, ucar.ma2.Section section)
-
readData1
public ucar.ma2.Array readData1(ucar.nc2.Variable v2, ucar.ma2.Section section, float[] values)
-
readData2
public ucar.ma2.Array readData2(ucar.nc2.Variable v2, ucar.ma2.Section section, double[] values)
-
-