Package ucar.nc2.iosp.bufr
Class BufrIosp2
- java.lang.Object
-
- ucar.nc2.iosp.AbstractIOServiceProvider
-
- ucar.nc2.iosp.bufr.BufrIosp2
-
- All Implemented Interfaces:
Comparable<ucar.nc2.iosp.IOServiceProvider>,ucar.nc2.iosp.IOServiceProvider
public class BufrIosp2 extends ucar.nc2.iosp.AbstractIOServiceProviderIOSP for BUFR data - version 2, using the preprocessor.- Since:
- 8/8/13
-
-
Field Summary
Fields Modifier and Type Field Description static StringcenterIdstatic StringfxyAttNamestatic StringobsRecordName
-
Constructor Summary
Constructors Constructor Description BufrIosp2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.Group.Builder rootGroup, ucar.nc2.util.CancelTask cancelTask)voidbuildFinish(ucar.nc2.NetcdfFile ncfile)BufrConfiggetConfig()StringgetDetailInfo()org.jdom2.ElementgetElem()StringgetFileTypeDescription()StringgetFileTypeId()ucar.ma2.StructureDataIteratorgetStructureIterator(ucar.nc2.Structure s, int bufferSize)booleanisBuilder()booleanisValidFile(ucar.unidata.io.RandomAccessFile raf)voidopen(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, Message single)voidopen(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask)ucar.ma2.ArrayreadData(ucar.nc2.Variable v2, ucar.ma2.Section section)ObjectsendIospMessage(Object message)static voidsetDebugFlags(ucar.nc2.util.DebugFlags debugFlag)-
Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
close, getFileTypeVersion, getLastModified, reacquire, readSection, readToByteChannel, readToOutputStream, release, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebug
-
-
-
-
Field Detail
-
obsRecordName
public static final String obsRecordName
- See Also:
- Constant Field Values
-
fxyAttName
public static final String fxyAttName
- See Also:
- Constant Field Values
-
centerId
public static final String centerId
- See Also:
- Constant Field Values
-
-
Method Detail
-
setDebugFlags
public static void setDebugFlags(ucar.nc2.util.DebugFlags debugFlag)
-
isValidFile
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf) throws IOException- Throws:
IOException
-
isBuilder
public boolean isBuilder()
- Specified by:
isBuilderin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
isBuilderin classucar.nc2.iosp.AbstractIOServiceProvider
-
build
public void build(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.Group.Builder rootGroup, ucar.nc2.util.CancelTask cancelTask) throws IOException- Specified by:
buildin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
buildin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
buildFinish
public void buildFinish(ucar.nc2.NetcdfFile ncfile)
- Specified by:
buildFinishin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
buildFinishin classucar.nc2.iosp.AbstractIOServiceProvider
-
open
public void open(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask) throws IOException- Specified by:
openin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
openin classucar.nc2.iosp.AbstractIOServiceProvider- Throws:
IOException
-
open
public void open(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile, Message single) throws IOException- Throws:
IOException
-
sendIospMessage
public Object sendIospMessage(Object message)
- Specified by:
sendIospMessagein interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
sendIospMessagein classucar.nc2.iosp.AbstractIOServiceProvider
-
getConfig
public BufrConfig getConfig()
-
getElem
public org.jdom2.Element getElem()
-
readData
public ucar.ma2.Array readData(ucar.nc2.Variable v2, ucar.ma2.Section section)
-
getStructureIterator
public ucar.ma2.StructureDataIterator getStructureIterator(ucar.nc2.Structure s, int bufferSize)- Specified by:
getStructureIteratorin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getStructureIteratorin classucar.nc2.iosp.AbstractIOServiceProvider
-
getDetailInfo
public String getDetailInfo()
- Specified by:
getDetailInfoin interfaceucar.nc2.iosp.IOServiceProvider- Overrides:
getDetailInfoin classucar.nc2.iosp.AbstractIOServiceProvider
-
getFileTypeId
public String getFileTypeId()
-
getFileTypeDescription
public String getFileTypeDescription()
-
-