llnl / llnl/fudge

Support for >1 Interpolation Region in MF=6 LAW=1

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
36
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I am working with a JENDL-5 proton evaluation for Li-7 with the goal of extracting File 6 photon production data for analysis ([the file](https://wwwndc.jaea.go.jp/cgi-bin/UNZIP_jendl.cgi?/JENDL/jendl5-p/p_003-Li-007.dat.gz))

Upon execution of
```
from brownies.legacy.converting import endfFileToGNDS

endfFileToGNDS.endfFileToGNDS(
"p_Li7_ENDF.txt",
singleMTOnly=5,
doCovariances=False,
)
```
The converter raises: "Currently only one interpolation region is supported for MF = 6, LAW = 1, LANG = 2; MT = 5"

This impacted gamma product in MF=6/MT=5 has LAW=1, and LANG=1, with two incident-energy interpolation regions (INT=2 below 10 MeV, and INT=22 above). I believe that the LANG=2 in the exception could be a typo. Regardless, is support for multiple-incident energy interpolation regions currently planned?

Thanks!!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running brownies.legacy.converting.endfFileToGNDS with the p_Li7_ENDF.txt input and the shown singleMTOnly=5, doCovariances=False options. Trace the MF=6, LAW=1 interpolation-region handling and verify that the Li-7 MT=5 data with two incident-energy regions converts without the current exception; also check whether LANG=2 in the message is accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.