public abstract class N3streamWriter extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
N3streamWriter.Vinfo |
Modifier and Type | Field and Description |
---|---|
protected boolean |
debug |
protected boolean |
debugPos |
protected boolean |
debugWriteData |
protected long |
filePos |
protected NetcdfFile |
ncfile |
protected int |
recSize |
protected int |
recStart |
protected boolean |
usePadding |
protected List<N3streamWriter.Vinfo> |
vinfoList |
protected Map<Variable,N3streamWriter.Vinfo> |
vinfoMap |
Modifier | Constructor and Description |
---|---|
protected |
N3streamWriter(NetcdfFile ncfile) |
Modifier and Type | Method and Description |
---|---|
protected int |
pad(DataOutputStream stream,
int nbytes,
byte fill) |
void |
writeHeader(DataOutputStream stream,
int numrec)
Write the header to a stream.
|
protected NetcdfFile ncfile
protected Map<Variable,N3streamWriter.Vinfo> vinfoMap
protected List<N3streamWriter.Vinfo> vinfoList
protected boolean debug
protected boolean debugPos
protected boolean debugWriteData
protected int recStart
protected int recSize
protected boolean usePadding
protected long filePos
protected N3streamWriter(NetcdfFile ncfile)
public void writeHeader(DataOutputStream stream, int numrec) throws IOException
stream
- write to this stream.numrec
- pass in number of record is you know it, else -1 for "streaming" format variantIOException
- if write failsprotected int pad(DataOutputStream stream, int nbytes, byte fill) throws IOException
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.