public class N3raf extends N3iosp
debug, debugRead, debugRecord, debugSize, debugSPIO, dimHash, fill, header, lastModified, MAX_NUMRECS, MAX_VARSIZE, NC_FILL_BYTE, NC_FILL_CHAR, NC_FILL_DOUBLE, NC_FILL_FLOAT, NC_FILL_INT, NC_FILL_INT64, NC_FILL_LONG, NC_FILL_SHORT, NC_FILL_STRING, NC_FILL_UBYTE, NC_FILL_UINT, NC_FILL_USHORT, readonly, showHeaderBytes, useRecordStructure
location, ncfile, raf, rafOrder
Constructor and Description |
---|
N3raf() |
Modifier and Type | Method and Description |
---|---|
protected void |
_create(RandomAccessFile raf) |
protected void |
_open(RandomAccessFile raf) |
protected Object |
readData(Layout index,
DataType dataType)
Read data subset from file for a variable, create primitive array.
|
protected long |
readData(Layout index,
DataType dataType,
WritableByteChannel out)
Read data subset from file for a variable, to WritableByteChannel.
|
protected void |
writeData(Array values,
Layout index,
DataType dataType)
write data to a file for a variable.
|
appendStructureData, close, create, createValidNetcdf3ObjectName, fillNonRecordVariables, fillRecordVariables, flush, getDetailInfo, getFileTypeDescription, getFileTypeId, getValidNetcdf3ObjectNamePattern, isValidFile, isValidNetcdf3ObjectName, isValidNetcdfObjectName, main, makeValidNetcdf3ObjectName, makeValidNetcdfObjectName, open, openForWriting, readData, readToByteChannel, rewriteHeader, sendIospMessage, setFill, setNumrecs, setProperty, syncExtend, toStringDebug, updateAttribute, writeData
getFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToOutputStream, release, streamToByteChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileTypeVersion, getStructureIterator, reacquire, readSection, readToOutputStream, release, streamToByteChannel
protected void _open(RandomAccessFile raf) throws IOException
_open
in class N3iosp
IOException
protected void _create(RandomAccessFile raf) throws IOException
_create
in class N3iosp
IOException
protected Object readData(Layout index, DataType dataType) throws IOException
readData
in class N3iosp
index
- handles skipping around in the file.dataType
- dataType of the variableIOException
- on errorprotected long readData(Layout index, DataType dataType, WritableByteChannel out) throws IOException
readData
in class N3iosp
index
- handles skipping around in the file.dataType
- dataType of the variableIOException
protected void writeData(Array values, Layout index, DataType dataType) throws IOException
writeData
in class N3iosp
values
- write this data.index
- handles skipping around in the file.dataType
- dataType of the variableIOException
- on errorCopyright © 1999–2015 UCAR/Unidata. All rights reserved.