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
IOException
public 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
IOException
public NetcdfFile proto2nc(NcStreamProto.Header proto, NetcdfFile ncfile) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.