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.IOServiceProvider
java.io.IOException
public java.lang.String getDetailInfo()
getDetailInfo
in interface ucar.nc2.iosp.IOServiceProvider
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf) throws java.io.IOException
isValidFile
in interface ucar.nc2.iosp.IOServiceProvider
java.io.IOException
public 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.IOServiceProvider
java.io.IOException
public 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.IOServiceProvider
java.io.IOException
ucar.ma2.InvalidRangeException
public ucar.ma2.Array readNestedData(ucar.nc2.Variable v2, java.util.List section) throws java.io.IOException, ucar.ma2.InvalidRangeException
java.io.IOException
ucar.ma2.InvalidRangeException
public void setSpecial(java.lang.Object special)
public boolean sync() throws java.io.IOException
sync
in interface ucar.nc2.iosp.IOServiceProvider
java.io.IOException
public boolean syncExtend() throws java.io.IOException
syncExtend
in interface ucar.nc2.iosp.IOServiceProvider
java.io.IOException
public java.lang.String toStringDebug(java.lang.Object o)
toStringDebug
in interface ucar.nc2.iosp.IOServiceProvider
public ucar.ma2.Array readSection(ucar.nc2.ParsedSectionSpec arg0) throws java.io.IOException, ucar.ma2.InvalidRangeException
readSection
in interface ucar.nc2.iosp.IOServiceProvider
java.io.IOException
ucar.ma2.InvalidRangeException
public 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.IOServiceProvider
java.io.IOException
ucar.ma2.InvalidRangeException
public java.lang.Object sendIospMessage(java.lang.Object arg0)
sendIospMessage
in interface ucar.nc2.iosp.IOServiceProvider
public java.lang.String getFileTypeDescription()
getFileTypeDescription
in interface ucar.nc2.iosp.IOServiceProvider
public java.lang.String getFileTypeId()
getFileTypeId
in interface ucar.nc2.iosp.IOServiceProvider
public java.lang.String getFileTypeVersion()
getFileTypeVersion
in interface ucar.nc2.iosp.IOServiceProvider
public 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.IOServiceProvider
java.io.IOException