public class CDMCompiler extends Object
| Constructor and Description |
|---|
CDMCompiler(DapNetcdfFile ncfile,
D4DSP dsp)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected CDMArray |
compileAtomicVar(DataVariable d4var)
Compile an Atomic Valued variable.
|
protected void |
compileDMR()
Convert a DMR to equivalent CDM meta-databuffer
and populate a NetcdfFile with it.
|
protected CDMArray |
compileStructure(D4DataStructure d4var,
int index,
CDMArrayStructure container)
Compile a single structure instance.
|
protected CDMArray |
compileStructureArray(D4DataCompoundArray d4var)
Compile an array of structures.
|
protected CDMArray |
compileVar(DataVariable d4var) |
NodeMap |
getNodeMap() |
public CDMCompiler(DapNetcdfFile ncfile, D4DSP dsp) throws DapException
ncfile - the target NetcdfFiledsp - the compiled D4 databufferDapExceptionpublic NodeMap getNodeMap()
protected void compileDMR()
throws DapException
DapExceptionprotected CDMArray compileVar(DataVariable d4var) throws DapException
DapExceptionprotected CDMArray compileAtomicVar(DataVariable d4var) throws DapException
d4var - The D4 databuffer wrapperDapExceptionprotected CDMArray compileStructure(D4DataStructure d4var, int index, CDMArrayStructure container) throws DapException
d4var - the data underlying this structure instanceindex - the index in the parent compound array.container - the parent CDMArrayStructureDapExceptionprotected CDMArray compileStructureArray(D4DataCompoundArray d4var) throws DapException
d4var - The D4 databuffer wrapperDapExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.