odim reading and writing now working (but slow). references #29