public class Vis5DIosp extends AbstractIOServiceProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
Vis5DIosp.Vis5DLookup
Get all the information about a Vis5D file
|
IOServiceProvider.SortGrouplocation, ncfile, raf, rafOrder| 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(RandomAccessFile raf)
Is this a valid file?
|
void |
open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open the service provider for reading.
|
Array |
readData(Variable v2,
Section section)
Read the data for the variable
|
build, buildFinish, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, getSortGrouppublic boolean isValidFile(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(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) throws java.io.IOException
open in interface IOServiceProvideropen in class AbstractIOServiceProviderraf - file to read fromncfile - netCDF file we are writing to (memory)cancelTask - task for cancellingjava.io.IOException - problem reading filepublic Array readData(Variable v2, Section section) throws java.io.IOException, InvalidRangeException
v2 - Variable to readsection - section infomationjava.io.IOException - problem reading from fileInvalidRangeException - invalid RangeRangepublic void close()
throws java.io.IOException
close in interface IOServiceProviderclose in class AbstractIOServiceProviderjava.io.IOException - problem closing file