# ERROR: Nuclear data library does not contain cross sections

**URL:** <https://openmc.discourse.group/t/error-nuclear-data-library-does-not-contain-cross-sections/1565>\
**Category:** User Support\
**Created:** [November 25, 2021, 8:43am UTC](https://openmc.discourse.group/t/error-nuclear-data-library-does-not-contain-cross-sections/1565 "2021-11-25T08:43:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar1001](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@Omar1001](https://openmc.discourse.group/u/Omar1001)\
**Post date:** [November 25, 2021, 8:43am UTC](https://openmc.discourse.group/t/error-nuclear-data-library-does-not-contain-cross-sections/1565/1 "2021-11-25T08:43:03Z")

</div>

Hello!

I am trying to run depletion calculations using materials in different values of temperatures. Those temperatures do not exist in the ENDF7.1 crosse section library. Therefore, I tried to use the Multipole method. However, I end up with the error below. It’s only working when I mix the Nearest or the Interpolation method with the Multipole. This makes me wonder, Is OpenMC using my set of temperatures

 ![ERROR](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/4/41c29eb2cdcf5cce3e37434b83134eda09c1b24e.png)  
or the temperatures in the ENDF7.1?

In the case that OpenMC is using the temperatures in the ENDF7.1, then how can I make it use my materials temperatures or any other temperature? Please.

My second question is related to the transfer of library from ace to h5 format using “openmc.data.IncidentNeutron.from\_ace()”. It seems that when I transfer an ace file that contains multiple temperatures data, only the data related to the first temperature is converted to the h5 format. Therefore, I tried to use the method “add\_temperature\_from\_ace()”. But, this required that the data for different temperatures should be placed in separate files, for example:

for suffix in [711, 712, 713, 714, 715, 716]:  
u235.add\_temperature\_from\_ace(‘92235.{}nc’.format(suffix))

Then, would someone know how to convert all the ace data at once?  
[depletion\_simple.py](https://openmc.discourse.group/uploads/short-url/k5eYieiDlLxVcIPKJuTUBGDbybE.py) (2.5 KB)

---

<div class="post-metadata">

**Author:** ![AlexandreTrottier](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/alexandretrottier/32/1357_2.png) [@AlexandreTrottier](https://openmc.discourse.group/u/AlexandreTrottier)\
**Post date:** [November 26, 2021, 4:32pm UTC](https://openmc.discourse.group/t/error-nuclear-data-library-does-not-contain-cross-sections/1565/2 "2021-11-26T16:32:03Z")

</div>

Hello,  
Have you tried using both the multipole and the temperature interpolation methods? I have recently run test problems in this manner with the endfb71\_hdf5 library. Both data sets are loaded (ACE type and WMP). The interpolation method is used when WMP data are not available.

---

<div class="post-metadata">

**Author:** ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)\
**Post date:** [November 26, 2021, 5:06pm UTC](https://openmc.discourse.group/t/error-nuclear-data-library-does-not-contain-cross-sections/1565/3 "2021-11-26T17:06:30Z")

</div>

For an example of adding ace files with a temperature you could take a look at this script that does the processing of JEFF data at different temperatures. We use the `add_temperature_from_ace()` method that you are using, but perhaps in a slightly different way using tables.

> <https://github.com/openmc-dev/data/blob/bcc99743f5c0efa0d7f3821201e04a31f8fd1d0d/convert_jeff32.py#L210>

The [GitHub - openmc-dev/data: Collection of scripts for managing data for OpenMC](https://github.com/openmc-dev/data) has some nice scripts for processing ace files and endf files into h5 files, if you can’t see the particular one you need then perhaps it can be added.
