|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.iosp.AbstractIOServiceProvider
ucar.nc2.iosp.mcidas.Vis5DIosp
public class Vis5DIosp
Vis5D grid file reader. Only support Vis5D grids, not the TOPO files.
| Nested Class Summary | |
|---|---|
protected static class |
Vis5DIosp.MakeNetcdfFile
TODO: generalize this static class for testing |
class |
Vis5DIosp.Vis5DLookup
Get all the information about a Vis5D file |
| Constructor Summary | |
|---|---|
Vis5DIosp()
|
|
| Method Summary | |
|---|---|
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? |
static void |
main(String[] args)
Test this. |
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 |
| Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider |
|---|
createValidNetcdfObjectName, getDetailInfo, getFileTypeVersion, getStructureIterator, readSection, readToByteChannel, sendIospMessage, sync, syncExtend, toStringDebug |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Vis5DIosp()
| Method Detail |
|---|
public boolean isValidFile(RandomAccessFile raf)
throws IOException
raf - RandomAccessFile to check
IOException - 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 cancelling
IOException - problem reading file
public Array readData(Variable v2,
Section section)
throws IOException,
InvalidRangeException
v2 - Variable to readsection - section infomation
IOException - problem reading from file
InvalidRangeException - invalid RangeRange
public void close()
throws IOException
close in interface IOServiceProviderclose in class AbstractIOServiceProviderIOException - problem closing file
public static void main(String[] args)
throws IOException
args - [0] input file name [0] output file name
IOException - problem reading the file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||