public class Vis5DIosp extends AbstractIOServiceProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
Vis5DIosp.Vis5DLookup
Get all the information about a Vis5D file
|
raf| Constructor and Description |
|---|
Vis5DIosp() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this IOSP
|
String |
getFileTypeDescription()
Get the file type description
|
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
|
getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, readSection, readToByteChannel, readToOutputStream, sendIospMessage, streamToByteChannel, syncExtend, toStringDebugpublic boolean isValidFile(RandomAccessFile raf) throws IOException
raf - RandomAccessFile to checkIOException - problem reading filepublic String getFileTypeId()
public String getFileTypeDescription()
public void open(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) throws IOException
open in interface IOServiceProvideropen in class AbstractIOServiceProviderraf - file to read fromncfile - netCDF file we are writing to (memory)cancelTask - task for cancellingIOException - problem reading filepublic Array readData(Variable v2, Section section) throws IOException, InvalidRangeException
v2 - Variable to readsection - section infomationIOException - problem reading from fileInvalidRangeException - invalid Rangepublic void close()
throws IOException
close in interface IOServiceProviderclose in class AbstractIOServiceProviderIOException - problem closing fileCopyright © 1999–2015 UCAR/Unidata. All rights reserved.