ucar.nc2.iosp.bufr
Class MessageUncompressedDataReader
java.lang.Object
ucar.nc2.iosp.bufr.MessageUncompressedDataReader
public class MessageUncompressedDataReader
- extends Object
Class Description
- Since:
- Nov 15, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageUncompressedDataReader
public MessageUncompressedDataReader()
readEntireMessage
public ArrayStructure readEntireMessage(Structure s,
Message proto,
Message m,
RandomAccessFile raf,
Formatter f)
throws IOException
- Read all datasets from a single message
- Parameters:
s
- outer variablesproto
- prototype message, has been processedm
- read this messageraf
- from this filef
- output bit count debugging info (may be null)
- Returns:
- ArraySTructure with all the data from the message in it.
- Throws:
IOException
- on read error
readData
public int readData(ArrayStructureBB abb,
Message m,
RandomAccessFile raf,
Range r,
boolean addTime,
Formatter f)
throws IOException
- Read some or all datasets from a single message
- Parameters:
abb
- place data into here in order (may be null)m
- read this messageraf
- from this filer
- which datasets, reletive to this message. null == all.addTime
- add the time coordinatef
- output bit count debugging info (may be null)
- Returns:
- number of datasets read
- Throws:
IOException
- on read error
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.