MAFISC is a newly developed compression algorithm that aims to compress multidimensional scientific data well. Currently, it uses lzma as its compressing backend. It is currently provided as an HDF5 filter, which allows it to work transparently.
As always, usage of this software is completely at your own risk, including possible loss of data. Check the source code for the full disclaimer.
Since the introduction of the filter plugin interface into the HDF5 library, using MAFISC has become quite simple. The steps still required are:
`make install PREFIX=…`will install the plugin within
`$PREFIX/lib/plugin`, defaults to
`make`where to find the HDF5 includes and libraries, defaults to
That's it, after these simple steps the HDF5 library will automatically load the MAFISC plugin whenever it encounters a MAFISC compressed file.
To compress an existing HDF5 file with MAFISC, you can use the `h5repack` tool distributed with HDF5:
#32002 is the ID assigned to the MAFISC filter. h5repack --filter=UD=32002,1,0 uncompressedFile.h5 compressedFile.h5
Instead of installing the MAFISC plugin to the default location, you may specify another location using `make install PREFIX=some/other/path`. This, however, will require you to tell HDF5 where to look for filter plugins by running `export HDF5_PLUGIN_PATH=some/other/path/lib/plugin`.
A paper on Mafisc has been published at the International Supercomputing Conference 2012, it can be downloaded at http://dx.doi.org/10.1007/s00450-012-0222-4