public class CDMCompiler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Constructor and Description |
|---|
CDMCompiler(DapNetcdfFile ncfile,
dap4.dap4shared.D4DSP dsp)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected ucar.ma2.Array |
compileAtomicVar(dap4.core.data.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 CDMArraySequence |
compileSequence(dap4.dap4shared.D4DataSequence d4var)
Compile a sequence.
|
protected ucar.ma2.Array |
compileSequenceArray(dap4.dap4shared.D4DataVariable d4var)
Compile an array of sequences.
|
protected CDMArray |
compileStructure(dap4.dap4shared.D4DataStructure d4var,
int recno,
CDMArrayStructure container)
Compile a single structure instance.
|
protected ucar.ma2.Array |
compileStructureArray(dap4.dap4shared.D4DataVariable d4var)
Compile an array of structures.
|
protected ucar.ma2.Array |
compileVar(dap4.core.data.DataVariable d4var) |
dap4.cdmshared.NodeMap |
getNodeMap() |
public CDMCompiler(DapNetcdfFile ncfile, dap4.dap4shared.D4DSP dsp) throws dap4.core.util.DapException
ncfile - the target NetcdfFiledsp - the compiled D4 databufferdap4.core.util.DapExceptionpublic dap4.cdmshared.NodeMap getNodeMap()
protected void compileDMR()
throws dap4.core.util.DapException
dap4.core.util.DapExceptionprotected ucar.ma2.Array compileVar(dap4.core.data.DataVariable d4var)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionprotected ucar.ma2.Array compileAtomicVar(dap4.core.data.DataVariable d4var)
throws dap4.core.util.DapException
d4var - The D4 databuffer wrapperdap4.core.util.DapExceptionprotected CDMArray compileStructure(dap4.dap4shared.D4DataStructure d4var, int recno, CDMArrayStructure container) throws dap4.core.util.DapException
d4var - the data underlying this structure instancerecno - the index in the parent compound array.container - the parent CDMArrayStructuredap4.core.util.DapExceptionprotected ucar.ma2.Array compileStructureArray(dap4.dap4shared.D4DataVariable d4var)
throws dap4.core.util.DapException
d4var - The D4 databuffer wrapperdap4.core.util.DapExceptionprotected CDMArraySequence compileSequence(dap4.dap4shared.D4DataSequence d4var) throws dap4.core.util.DapException
d4var - the data underlying this sequence instancedap4.core.util.DapExceptionprotected ucar.ma2.Array compileSequenceArray(dap4.dap4shared.D4DataVariable d4var)
throws dap4.core.util.DapException
d4var - The D4 databuffer wrapperdap4.core.util.DapExceptionto see how a dimensioned Sequence is represented.