dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java
public double getDouble(int offset)
    {
        DapVariable d4var = (DapVariable) getTemplate();
        long[] dimsizes = DapUtil.getDimSizes(d4var.getDimensions());
        return getDouble(DapUtil.offsetToIndex(offset, dimsizes));
    }
public double getDouble(int offset)
    {
        DapVariable d4var = (DapVariable) getTemplate();
        long[] dimsizes = DapUtil.getDimSizes(d4var.getDimensions());
        return getDouble(DapUtil.offsetToIndex(offset, dimsizes));
    }
Convert int base to Index based