public class FerretIOServiceProvider
extends java.lang.Object
implements ucar.nc2.iosp.IOServiceProvider
| Constructor and Description |
|---|
FerretIOServiceProvider()
The default constructor, warms up the FerretTool that will be used to run
Ferret.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getDataDir() |
java.lang.String |
getDetailInfo() |
java.lang.String |
getFileTypeDescription() |
java.lang.String |
getFileTypeId() |
java.lang.String |
getFileTypeVersion() |
ucar.ma2.StructureDataIterator |
getStructureIterator(ucar.nc2.Structure arg0,
int arg1) |
boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf) |
static void |
main(java.lang.String[] args) |
void |
open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask) |
ucar.ma2.Array |
readData(ucar.nc2.Variable v2,
ucar.ma2.Section section) |
ucar.ma2.Array |
readNestedData(ucar.nc2.Variable v2,
java.util.List section) |
ucar.ma2.Array |
readSection(ucar.nc2.ParsedSectionSpec arg0) |
long |
readToByteChannel(ucar.nc2.Variable arg0,
ucar.ma2.Section arg1,
java.nio.channels.WritableByteChannel arg2) |
java.lang.Object |
sendIospMessage(java.lang.Object arg0) |
void |
setSpecial(java.lang.Object special) |
boolean |
sync() |
boolean |
syncExtend() |
java.lang.String |
toStringDebug(java.lang.Object o) |
public FerretIOServiceProvider()
public void close()
throws java.io.IOException
close in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionpublic java.lang.String getDetailInfo()
getDetailInfo in interface ucar.nc2.iosp.IOServiceProviderpublic boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
throws java.io.IOException
isValidFile in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionpublic void open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
throws java.io.IOException
open in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionpublic ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
readData in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic ucar.ma2.Array readNestedData(ucar.nc2.Variable v2,
java.util.List section)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic void setSpecial(java.lang.Object special)
public boolean sync()
throws java.io.IOException
sync in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionpublic boolean syncExtend()
throws java.io.IOException
syncExtend in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionpublic java.lang.String toStringDebug(java.lang.Object o)
toStringDebug in interface ucar.nc2.iosp.IOServiceProviderpublic ucar.ma2.Array readSection(ucar.nc2.ParsedSectionSpec arg0)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
readSection in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic long readToByteChannel(ucar.nc2.Variable arg0,
ucar.ma2.Section arg1,
java.nio.channels.WritableByteChannel arg2)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
readToByteChannel in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic java.lang.Object sendIospMessage(java.lang.Object arg0)
sendIospMessage in interface ucar.nc2.iosp.IOServiceProviderpublic java.lang.String getFileTypeDescription()
getFileTypeDescription in interface ucar.nc2.iosp.IOServiceProviderpublic java.lang.String getFileTypeId()
getFileTypeId in interface ucar.nc2.iosp.IOServiceProviderpublic java.lang.String getFileTypeVersion()
getFileTypeVersion in interface ucar.nc2.iosp.IOServiceProviderpublic java.lang.String getDataDir()
public static void main(java.lang.String[] args)
public ucar.ma2.StructureDataIterator getStructureIterator(ucar.nc2.Structure arg0,
int arg1)
throws java.io.IOException
getStructureIterator in interface ucar.nc2.iosp.IOServiceProviderjava.io.IOException