public class CDMCompiler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Variable,Array> |
arraymap |
static boolean |
DEBUG |
protected DapDataset |
dmr |
protected D4DSP |
dsp |
protected DapNetcdfFile |
ncfile |
protected NodeMap<CDMNode,DapNode> |
nodemap |
Constructor and Description |
---|
CDMCompiler(DapNetcdfFile ncfile,
D4DSP dsp)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
compileData()
Convert a DataDataset to equivalent CDM data (Array objects).
|
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 D4DSP dsp
protected DapDataset dmr
public CDMCompiler(DapNetcdfFile ncfile, D4DSP dsp) throws DapException
ncfile
- the target NetcdfDataset (as yet empty)dsp
- DapException
public NetcdfFile getNetcdfFile()
public void compileDMR() throws DapException
DapException
public void compileData() throws DapException
DapException