Returns the offset, in bytes, from the start of the array arr->data of the datum at the coordinate value specified by the index array indexarr, which must be of dimension arr->naxis (at least).
Parameters:
arr
The DRMS array struct for which the offset is being calculated.
indexarr
The index into arr of the datum for which the offset is being calculated.