dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java
public Class
    getElementType()
    {
        DataType dt = CDMTypeFcns.daptype2cdmtype(this.basetype);
        if(dt == null)
            throw new IllegalArgumentException("Unknown datatype: " + this.basetype);
        return CDMTypeFcns.cdmElementClass(dt);
    }
public Class
    getElementType()
    {
        DataType dt = CDMTypeFcns.daptype2cdmtype(this.basetype);
        if(dt == null)
            throw new IllegalArgumentException("Unknown datatype: " + this.basetype);
        return CDMTypeFcns.cdmElementClass(dt);
    }
TODO: add index range checks