How to generate the data of Photoatomic in h5 format by myself through the file of mcplib84?

I know I can download the ENDF/B-VIII.0 zip at Official Data Libraries | OpenMC, but I’d like to know how the photon in it was converted to get it, to help myself to Learn how to convert data from mcplib84 to h5 format.

Perhaps one of the convert mcnp scripts here is helpful

Thank you, Shimwell, I read your link which contains the conversion of ‘Lib80x’ and ‘ENDF80SaB’. Maybe I can learn how to convert other databases through it?
Also, if openmc have any official database that be directly converted to HDF5 format? like:
MCPLIB84 | Nuclear Data (lanl.gov),
ENDF7u | Nuclear Data (lanl.gov)

The following script:
https://github.com/openmc-dev/data/blob/master/generate_jeff33.py

will generate ENDF80 photon XS data.

ENDF80 photon data actually comes from EPICS2017

https://www.nndc.bnl.gov/endf-b8.0/
https://www.nndc.bnl.gov/endf/epics/

mcplib84 is based on EPDL97
https://www-nds.iaea.org/epdl97/

EPICS2017 is just a newer version of EPDL97, indeed EPICS2012, 2014 can be found in MCNP

https://nucleardata.lanl.gov/ace/eprdata12
https://nucleardata.lanl.gov/ace/eprdata14

There are very few differences between the libraries (97,12,14,17), I could only imagine using the older ones for some benchmarking or 1:1 comparisons

3 Likes