Several routines have been written to read CompOSE data files, provide an interpolation scheme and allow to generate output.
The usage is described in Section 7.4 of the CompOSE manual: Handling and transforming EoS data .
The code is available at compose gitlab.
The code contains routines, too, to write the output generated from the compose code in HDF5-format. In the Makefile a flag has to be set to enable HDF5 output. If HDF5 doesn’t mean anything to you, it is very likely that you don’t need it. However, many people do. You should be familiar with HDF5 and be able to use it on your computer. This means in particular that the HDF5 library is installed. On many Linux distributions, it exists as pre-compiled package. For more information visit www.hdfgroup.org
In addition to the compose code, the Makefile allows to build two sample codes, one test_read_hdf5 reading an EoS data from the HDF5 table generated by the compose code and another one test_read_opacities showing how to extract charged current neutrino-nucleon opacities (electron neutrinos and anti-neutrinos) from the data provided together with some EoS (under development).
We recommend in either case, with or without HDF5-support, to carefully read the manual.
Four examples are available showing how to use the CompOSE software, please see the quick guide for users from the manual section for more details.