ucar.nc2.iosp.bufr
Class BufrIosp
java.lang.Object
ucar.nc2.iosp.AbstractIOServiceProvider
ucar.nc2.iosp.bufr.BufrIosp
- All Implemented Interfaces:
- IOServiceProvider
public class BufrIosp
- extends AbstractIOServiceProvider
IOSP for BUFR data
- Author:
- caron
|
Field Summary |
static java.lang.String |
obsRecord
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
obsRecord
public static final java.lang.String obsRecord
- See Also:
- Constant Field Values
BufrIosp
public BufrIosp()
setDebugFlags
public static void setDebugFlags(DebugFlags debugFlag)
isValidFile
public boolean isValidFile(RandomAccessFile raf)
throws java.io.IOException
- Throws:
java.io.IOException
open
public void open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
throws java.io.IOException
- Specified by:
open in interface IOServiceProvider- Overrides:
open in class AbstractIOServiceProvider
- Throws:
java.io.IOException
readData
public Array readData(Variable v2,
Section section)
throws java.io.IOException,
InvalidRangeException
- Throws:
java.io.IOException
InvalidRangeException
getStructureIterator
public StructureDataIterator getStructureIterator(Structure s,
int bufferSize)
throws java.io.IOException
- Get the structure iterator
- Specified by:
getStructureIterator in interface IOServiceProvider- Overrides:
getStructureIterator in class AbstractIOServiceProvider
- Parameters:
s - the StructurebufferSize - the buffersize
- Returns:
- the data iterator
- Throws:
java.io.IOException - if problem reading data
getDetailInfo
public java.lang.String getDetailInfo()
- Specified by:
getDetailInfo in interface IOServiceProvider- Overrides:
getDetailInfo in class AbstractIOServiceProvider
getFileTypeId
public java.lang.String getFileTypeId()
getFileTypeDescription
public java.lang.String getFileTypeDescription()
readAll
public void readAll(boolean dump)
throws java.io.IOException,
InvalidRangeException
- Throws:
java.io.IOException
InvalidRangeException
compare
public void compare(Structure obs)
throws java.io.IOException,
InvalidRangeException
- Throws:
java.io.IOException
InvalidRangeException
doon
public static void doon(java.lang.String filename)
throws java.io.IOException,
InvalidRangeException
- Throws:
java.io.IOException
InvalidRangeException
main
public static void main(java.lang.String[] arg)
throws java.io.IOException,
InvalidRangeException
- Throws:
java.io.IOException
InvalidRangeException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.