`.med` backend should rely on H5PY and implementation can be based on: https://gist.github.com/jorgensd/459a4ae463abe76bd4867f42a0c16c04