public class Vis5DIosp
extends ucar.nc2.iosp.AbstractIOServiceProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
Vis5DIosp.Vis5DLookup
Get all the information about a Vis5D file
|
| Constructor and Description |
|---|
Vis5DIosp() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this IOSP
|
java.lang.String |
getFileTypeDescription()
Get the file type description
|
java.lang.String |
getFileTypeId()
Get the file type id
|
boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf)
Is this a valid file?
|
void |
open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
Open the service provider for reading.
|
ucar.ma2.Array |
readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
Read the data for the variable
|
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
throws java.io.IOException
raf - RandomAccessFile to checkjava.io.IOException - problem reading filepublic java.lang.String getFileTypeId()
public java.lang.String getFileTypeDescription()
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.IOServiceProvideropen in class ucar.nc2.iosp.AbstractIOServiceProviderraf - file to read fromncfile - netCDF file we are writing to (memory)cancelTask - task for cancellingjava.io.IOException - problem reading filepublic ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
v2 - Variable to readsection - section infomationjava.io.IOException - problem reading from fileucar.ma2.InvalidRangeException - invalid Rangepublic void close()
throws java.io.IOException
close in interface ucar.nc2.iosp.IOServiceProviderclose in class ucar.nc2.iosp.AbstractIOServiceProviderjava.io.IOException - problem closing file