public class DataToCDM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Variable,Array> |
arraymap |
protected Group |
cdmroot |
protected static int |
COUNTSIZE |
static boolean |
DEBUG |
protected DapDataset |
dmr |
protected DSP |
dsp |
protected static java.lang.String |
LBRACE |
protected DapNetcdfFile |
ncfile |
protected NodeMap |
nodemap |
protected static java.lang.String |
RBRACE |
Constructor and Description |
---|
DataToCDM(DapNetcdfFile ncfile,
DSP dsp,
NodeMap nodemap)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected dap4.cdm.nc2.CDMArrayAtomic |
createAtomicVar(DataCursor data)
Create an Atomic Valued variable.
|
protected dap4.cdm.nc2.CDMArraySequence |
createSequence(DataCursor data)
Create a sequence.
|
protected dap4.cdm.nc2.CDMArrayStructure |
createStructure(DataCursor data)
Create an array of structures.
|
protected Array |
createVar(DataCursor data) |
public static boolean DEBUG
protected static final int COUNTSIZE
protected static final java.lang.String LBRACE
protected static final java.lang.String RBRACE
protected DapNetcdfFile ncfile
protected DSP dsp
protected DapDataset dmr
protected Group cdmroot
protected NodeMap nodemap
public DataToCDM(DapNetcdfFile ncfile, DSP dsp, NodeMap nodemap) throws DapException
ncfile
- the target NetcdfDatasetdsp
- the compiled D4 databufferDapException
protected Array createVar(DataCursor data) throws DapException
DapException
protected dap4.cdm.nc2.CDMArrayAtomic createAtomicVar(DataCursor data) throws DapException
DapException
protected dap4.cdm.nc2.CDMArrayStructure createStructure(DataCursor data) throws DapException
DapException
protected dap4.cdm.nc2.CDMArraySequence createSequence(DataCursor data) throws DapException
data
- the data underlying this sequence instanceDapException