swap out cffi sd interface with pyhdf