public class NcStreamReader
extends java.lang.Object
Constructor and Description |
---|
NcStreamReader() |
Modifier and Type | Method and Description |
---|---|
StructureDataIterator |
getStructureIterator(java.io.InputStream is,
NetcdfFile ncfile) |
NetcdfFile |
proto2nc(NcStreamProto.Header proto,
NetcdfFile ncfile) |
ucar.nc2.stream.NcStreamReader.DataResult |
readData(java.io.InputStream is,
NetcdfFile ncfile)
Read the result of a data request.
|
NetcdfFile |
readStream(java.io.InputStream is,
NetcdfFile ncfile) |
public NetcdfFile readStream(java.io.InputStream is, NetcdfFile ncfile) throws java.io.IOException
java.io.IOException
public ucar.nc2.stream.NcStreamReader.DataResult readData(java.io.InputStream is, NetcdfFile ncfile) throws java.io.IOException
is
- read from input streamncfile
- need the metadata from here to interpret structure datajava.io.IOException
- on read errorpublic StructureDataIterator getStructureIterator(java.io.InputStream is, NetcdfFile ncfile) throws java.io.IOException
java.io.IOException
public NetcdfFile proto2nc(NcStreamProto.Header proto, NetcdfFile ncfile) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException