public class NcStreamReader extends Object
| Constructor and Description |
|---|
NcStreamReader() |
| Modifier and Type | Method and Description |
|---|---|
StructureDataIterator |
getStructureIterator(InputStream is,
NetcdfFile ncfile) |
NetcdfFile |
proto2nc(NcStreamProto.Header proto,
NetcdfFile ncfile) |
ucar.nc2.stream.NcStreamReader.DataResult |
readData(InputStream is,
NetcdfFile ncfile)
Read the result of a data request.
|
NetcdfFile |
readStream(InputStream is,
NetcdfFile ncfile) |
public NetcdfFile readStream(InputStream is, NetcdfFile ncfile) throws IOException
IOExceptionpublic ucar.nc2.stream.NcStreamReader.DataResult readData(InputStream is, NetcdfFile ncfile) throws IOException
is - read from input streamncfile - need the metadata from here to interpret structure dataIOException - on read errorpublic StructureDataIterator getStructureIterator(InputStream is, NetcdfFile ncfile) throws IOException
IOExceptionpublic NetcdfFile proto2nc(NcStreamProto.Header proto, NetcdfFile ncfile) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionCopyright © 1999–2013 UCAR/Unidata. All rights reserved.