ucar.nc2.iosp.bufr
Class MessageUncompressedDataReader
java.lang.Object
ucar.nc2.iosp.bufr.MessageUncompressedDataReader
public class MessageUncompressedDataReader
- extends java.lang.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,
java.util.Formatter f)
throws java.io.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:
java.io.IOException - on read error
readData
public int readData(ArrayStructureBB abb,
Message m,
RandomAccessFile raf,
Range r,
boolean addTime,
java.util.Formatter f)
throws java.io.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:
java.io.IOException - on read error
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.