public class CDMCompiler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<Variable,Array> |
arraymap |
protected Group |
cdmroot |
static boolean |
DEBUG |
protected DapDataset |
dmr |
protected DSP |
dsp |
protected DapNetcdfFile |
ncfile |
protected NodeMap<CDMNode,DapNode> |
nodemap |
| Constructor and Description |
|---|
CDMCompiler(DapNetcdfFile ncfile,
DSP dsp)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
compileData()
Convert a DataDataset to equivalent CDM data (Array objects).
|
protected void |
compileDMR()
Convert a DMR to equivalent CDM meta-databuffer
and populate a NetcdfDataset with it.
|
java.util.Map<Variable,Array> |
getArrayMap() |
NetcdfFile |
getNetcdfFile() |
NodeMap<CDMNode,DapNode> |
getNodeMap() |
public static boolean DEBUG
protected DapNetcdfFile ncfile
protected DSP dsp
protected DapDataset dmr
protected Group cdmroot
public CDMCompiler(DapNetcdfFile ncfile, DSP dsp) throws DapException
ncfile - the target NetcdfDataset (as yet empty)dsp - the DSP to be wrappedDapExceptionpublic NetcdfFile getNetcdfFile()
protected void compileDMR()
throws DapException
DapExceptionprotected void compileData()
throws DapException
DapException