public class UAMIVServiceProvider
extends ucar.nc2.iosp.AbstractIOServiceProvider
| Constructor and Description |
|---|
UAMIVServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileTypeDescription() |
String |
getFileTypeId() |
boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
void |
open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
ucar.ma2.Array |
readData(ucar.nc2.Variable v2,
ucar.ma2.Section wantSection)
Read data from a top level Variable and return a memory resident Array.
|
build, buildFinish, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugpublic boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
raf - RandomAccessFilepublic String getFileTypeId()
public String getFileTypeDescription()
public void open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
throws IOException
open in interface ucar.nc2.iosp.IOServiceProvideropen in class ucar.nc2.iosp.AbstractIOServiceProviderraf - the file to work on, it has already passed the isValidFile() test.ncfile - add objects to this NetcdfFilecancelTask - used to monito user cancellation; may be null.IOExceptionpublic ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section wantSection)
throws IOException,
ucar.ma2.InvalidRangeException
v2 - a top-level VariablewantSection - List of type Range specifying the section of data to read.
There must be a Range for each Dimension in the variable, in order.
Note: no nulls.IOExceptionucar.ma2.InvalidRangeExceptionRange