Skip to content

Evaporation spectrum error when importing CE data #363

@hankyleh

Description

@hankyleh

When running tools/data_library_generator/generate.py to import the Lib81 ACE data library, an error interrupts the library conversion, [ERROR]: Evaporation distribution temperature is not linearly interpolable. This error appears only for ACEtk.continuous.EvaporationSpectrum instances, and it appears for each one, preventing the remaining files from being converted.

From line 165 of util.py,

    if not data.interpolation_data.is_linear_linear:
        print_error(
            "Evaporation distribution temperature is not linearly interpolable"
        )

Checking data.interpolants for every one of these reactions returns 5, which corresponds to a log-log interpolation scheme per the ENDF manual (Table 16), so every evaporation spectrum reaction will call this error.

There are over 130 files in Lib81 that contain evaporation spectra (out of 4464 total files), and each one will interrupt the execution of generate.py.

I was able to import the full library anyway by changing print_error to print_note, but since log-log is the expected behavior of these reactions, I don't know if a note is appropriate here either, though I hesitate to skip importing this reaction, since I don't know if there are plans for MCDC to include support for it in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions