openmc-data 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openmc_data/_version.py +2 -2
- openmc_data/depletion/{chain_endf_vii.1.xml → chain_endf_b7.1.xml} +1854 -317
- openmc_data/depletion/{chain_endf_viii.0.xml → chain_endf_b8.0.xml} +2829 -398
- openmc_data/depletion/generate_endf_chain.py +11 -8
- openmc_data/depletion/generate_tendl_chain.py +0 -2
- openmc_data/urls_xml.py +2 -2
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/METADATA +1 -1
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/RECORD +12 -12
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/LICENSE +0 -0
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/WHEEL +0 -0
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/entry_points.txt +0 -0
- {openmc_data-0.2.0.dist-info → openmc_data-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
|
-
import os
|
|
4
3
|
from argparse import ArgumentParser
|
|
5
4
|
from pathlib import Path
|
|
6
5
|
from urllib.parse import urljoin
|
|
@@ -15,8 +14,7 @@ from openmc_data import all_decay_release_details
|
|
|
15
14
|
parser = ArgumentParser()
|
|
16
15
|
parser.add_argument('-r', '--release', choices=['b7.1', 'b8.0'],
|
|
17
16
|
default='b8.0', help="The nuclear data library release "
|
|
18
|
-
"version. The currently supported options are
|
|
19
|
-
"b8.0")
|
|
17
|
+
"version. The currently supported options are b7.1, b8.0")
|
|
20
18
|
parser.add_argument(
|
|
21
19
|
"-d",
|
|
22
20
|
"--destination",
|
|
@@ -56,7 +54,7 @@ def main():
|
|
|
56
54
|
|
|
57
55
|
neutron_files = list(neutron_dir.rglob("*endf"))
|
|
58
56
|
decay_files = list(decay_dir.rglob("*endf"))
|
|
59
|
-
|
|
57
|
+
fpy_files = list(nfy_dir.rglob("*endf"))
|
|
60
58
|
|
|
61
59
|
if args.release == 'vii.1':
|
|
62
60
|
# Remove erroneous Be7 evaluation from vii.1 that can cause problems
|
|
@@ -65,11 +63,16 @@ def main():
|
|
|
65
63
|
|
|
66
64
|
# check files exist
|
|
67
65
|
for flist, ftype in [(decay_files, "decay"), (neutron_files, "neutron"),
|
|
68
|
-
(
|
|
66
|
+
(fpy_files, "neutron fission product yield")]:
|
|
69
67
|
if not flist:
|
|
70
|
-
raise IOError("No {} endf files found in {}"
|
|
71
|
-
|
|
72
|
-
chain = openmc.deplete.Chain.from_endf(
|
|
68
|
+
raise IOError(f"No {ftype} endf files found in {endf_files_dir}")
|
|
69
|
+
|
|
70
|
+
chain = openmc.deplete.Chain.from_endf(
|
|
71
|
+
decay_files=decay_files,
|
|
72
|
+
fpy_files=fpy_files,
|
|
73
|
+
neutron_files=neutron_files,
|
|
74
|
+
reactions=list(openmc.deplete.chain.REACTIONS.keys())
|
|
75
|
+
)
|
|
73
76
|
|
|
74
77
|
if args.destination is None:
|
|
75
78
|
args.destination = f'chain_{library_name}_{args.release}.xml'
|
|
@@ -7,11 +7,9 @@ be borrowed from another library. The --lib flag for this script indicates what
|
|
|
7
7
|
library should be used for decay and FPY evaluations and defaults to JEFF 3.3.
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
import json
|
|
11
10
|
from argparse import ArgumentParser
|
|
12
11
|
from pathlib import Path
|
|
13
12
|
from urllib.parse import urljoin
|
|
14
|
-
import openmc_data
|
|
15
13
|
|
|
16
14
|
import openmc.data
|
|
17
15
|
import openmc.deplete as dep
|
openmc_data/urls_xml.py
CHANGED
|
@@ -2,12 +2,12 @@ all_chain_release_details = {
|
|
|
2
2
|
"endf": {
|
|
3
3
|
"b7.1": {
|
|
4
4
|
"chain": {
|
|
5
|
-
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/
|
|
5
|
+
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/chain_endf_7.1.xml",
|
|
6
6
|
}
|
|
7
7
|
},
|
|
8
8
|
"b8.0": {
|
|
9
9
|
"chain": {
|
|
10
|
-
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/
|
|
10
|
+
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/chain_endf_8.0.xml",
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openmc-data
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A Python package containing a collection of scripts for producing and downloading data for OpenMC
|
|
5
5
|
Author-email: Jonathan Shimwell <mail@jshimwell.com>
|
|
6
6
|
License: Copyright (c) 2019-2022 UChicago Argonne LLC and contributors
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
openmc_data/__init__.py,sha256=jaeYrI36AdJ1CPmgFvu8810SKD5czx-kNwx8srnoPS4,272
|
|
2
|
-
openmc_data/_version.py,sha256=
|
|
2
|
+
openmc_data/_version.py,sha256=EGgkE0P_mNhgdajRtJIZJnyl0yMGRYakJYoPnb92ETI,160
|
|
3
3
|
openmc_data/urls.py,sha256=MBAu8-IsrMu_epnzIw87t9Nf8eld9ut67ZLODOaMuzc,12407
|
|
4
4
|
openmc_data/urls_chain.py,sha256=01ZWeR5JysyKIoZWELu7a37EToNceY9aS2Sc0jGEYJI,2093
|
|
5
5
|
openmc_data/urls_h5.py,sha256=dO8rmGewFduZno2drzbGVLMsvNVkFP2Re4NCDKk1O8A,670
|
|
6
|
-
openmc_data/urls_xml.py,sha256=
|
|
6
|
+
openmc_data/urls_xml.py,sha256=qfGbWiV03URl7Nzkhu5dUB5GXVha1BKpjOYXBj7CLjA,446
|
|
7
7
|
openmc_data/utils.py,sha256=KAMH2H5Uq7Uy2cYuzx0nD_xq9hZNJfStSmAk60JZz-g,6471
|
|
8
8
|
openmc_data/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
openmc_data/convert/convert_endf.py,sha256=mjNsuKi7hmCObsMf5ksDXrrUm_KKOwtewzUJQTQsVBo,7017
|
|
@@ -22,14 +22,14 @@ openmc_data/depletion/casl_chain.py,sha256=GgadOJHGviz8r-suqrF4M5TIDgsy1qFa267kY
|
|
|
22
22
|
openmc_data/depletion/chain-nndc-b7.1.xml,sha256=lHwALvCXXxIaARtkiQqA5v69cjFa40kR-VZCaTj3wuE,1851485
|
|
23
23
|
openmc_data/depletion/chain_casl_pwr.xml,sha256=n81knKlReUDldVDileYSJU72WKr67BlQWoHs5zCOGWg,205947
|
|
24
24
|
openmc_data/depletion/chain_casl_sfr.xml,sha256=S5WfdFD72CFg_lc-CBXGN4DbnVnzAFIbd7nAcsXbWnU,206001
|
|
25
|
-
openmc_data/depletion/
|
|
26
|
-
openmc_data/depletion/
|
|
25
|
+
openmc_data/depletion/chain_endf_b7.1.xml,sha256=-vwCK5q5OnLOIIBxn6U7qp1XDZ0dxMw6rhBq0V2YdX8,27737271
|
|
26
|
+
openmc_data/depletion/chain_endf_b8.0.xml,sha256=1PYH_PoHibyBSs4Hs0NDP-b9CFuvLHY1kqJWs-BMsDk,27660707
|
|
27
27
|
openmc_data/depletion/chain_endfb71_pwr.xml,sha256=jAzAlbvI44zzv8xFZgHL1fTf-ZE12U2gDXpPCRBZgaI,1862978
|
|
28
28
|
openmc_data/depletion/chain_endfb71_sfr.xml,sha256=s0OJwslf-xfNiROgPgY96wg7ddvRvBjKBcISNGjN_yw,1863707
|
|
29
29
|
openmc_data/depletion/generate_endf71_chain_casl.py,sha256=Ny0MrXjO9NejP7hJD8pgaikadWuCF29VxNx3bPOyIyM,11156
|
|
30
|
-
openmc_data/depletion/generate_endf_chain.py,sha256=
|
|
30
|
+
openmc_data/depletion/generate_endf_chain.py,sha256=YV4oTa9nX7BhIGyJbUglflZk2_xX7qlUe5_749MBj9c,2870
|
|
31
31
|
openmc_data/depletion/generate_serpent_fissq.py,sha256=jvgk1qID7bBZhPPoAtJL5TR4eSgkU6IkfFUrwHYcsfE,1346
|
|
32
|
-
openmc_data/depletion/generate_tendl_chain.py,sha256=
|
|
32
|
+
openmc_data/depletion/generate_tendl_chain.py,sha256=rrxtfVA2SX43ZAPZfUPYvPFol2hrNlUHFoOoowOqW6Y,5337
|
|
33
33
|
openmc_data/depletion/reduce_chain.py,sha256=2QCw4dEs4nhZbB9W4o-Yyub_PsPDZsswLtxv1WmsfnU,520
|
|
34
34
|
openmc_data/depletion/serpent_fissq.json,sha256=qmXD5cdJJcr4_kNGsSR1jZMGeZRQ1iiBgH1CiH9vMQQ,2383
|
|
35
35
|
openmc_data/depletion/tendl2019_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
|
|
@@ -48,9 +48,9 @@ openmc_data/other/convert_tendl_rand.py,sha256=F3fq4vQ0kin_FjwAhZm8HP8GzQsk-1gYf
|
|
|
48
48
|
openmc_data/other/make_compton.py,sha256=xsY4fLHWceiRA8tUBVavlZ1TbIDk5HKgikWytEqq6vE,2466
|
|
49
49
|
openmc_data/other/make_stopping_powers.py,sha256=4Qy9L6VAHm5sMLrDadWX-xS8TSeT-QTiNHDXmZIcT7I,1956
|
|
50
50
|
openmc_data/other/sample_sandy.py,sha256=uwmZk_XZ59VJOLYqp8cOCruW45qTKzlbeuBwXB6Fk1c,6184
|
|
51
|
-
openmc_data-0.2.
|
|
52
|
-
openmc_data-0.2.
|
|
53
|
-
openmc_data-0.2.
|
|
54
|
-
openmc_data-0.2.
|
|
55
|
-
openmc_data-0.2.
|
|
56
|
-
openmc_data-0.2.
|
|
51
|
+
openmc_data-0.2.1.dist-info/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
|
|
52
|
+
openmc_data-0.2.1.dist-info/METADATA,sha256=3B6hByEDqDKhTGcvfGSBKizvuCWdg644lhIM4MJd4oo,9160
|
|
53
|
+
openmc_data-0.2.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
54
|
+
openmc_data-0.2.1.dist-info/entry_points.txt,sha256=71QsQLnG0Ab35WDqC1j1EuflWY_mCGZUrgck4htv3FU,1539
|
|
55
|
+
openmc_data-0.2.1.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
|
|
56
|
+
openmc_data-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|