public class CDMCompiler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<ucar.nc2.Variable,ucar.ma2.Array> |
arraymap |
static boolean |
DEBUG |
protected DapDataset |
dmr |
protected D4DSP |
dsp |
protected DapNetcdfFile |
ncfile |
protected NodeMap<ucar.nc2.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<ucar.nc2.Variable,ucar.ma2.Array> |
getArrayMap() |
ucar.nc2.NetcdfFile |
getNetcdfFile() |
NodeMap<ucar.nc2.CDMNode,DapNode> |
getNodeMap() |
public static boolean DEBUG
protected DapNetcdfFile ncfile
protected D4DSP dsp
protected DapDataset dmr
protected java.util.Map<ucar.nc2.Variable,ucar.ma2.Array> arraymap
public CDMCompiler(DapNetcdfFile ncfile, D4DSP dsp) throws DapException
ncfile - the target NetcdfDataset (as yet empty)dsp - DapExceptionpublic java.util.Map<ucar.nc2.Variable,ucar.ma2.Array> getArrayMap()
public ucar.nc2.NetcdfFile getNetcdfFile()
public void compileDMR()
throws DapException
DapExceptionpublic void compileData()
throws DapException
DapException