openmc-data 2.3.0__py3-none-any.whl → 2.3.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/download/{download_endf_chain.py → download_chain.py} +17 -8
- openmc_data/urls_xml.py +4 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/METADATA +2 -2
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/RECORD +9 -9
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/entry_points.txt +1 -1
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/WHEEL +0 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/licenses/LICENSE +0 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.1.dist-info}/top_level.txt +0 -0
openmc_data/_version.py
CHANGED
|
@@ -37,20 +37,30 @@ parser.add_argument(
|
|
|
37
37
|
parser.add_argument(
|
|
38
38
|
"-r",
|
|
39
39
|
"--release",
|
|
40
|
-
choices=["b7.1", "b8.0"],
|
|
41
|
-
default="
|
|
40
|
+
choices=["b7.1", "b8.0", "2019"],
|
|
41
|
+
default="2019",
|
|
42
42
|
help="The nuclear data library release version. The currently supported "
|
|
43
43
|
"options are b7.1 and b8.0.",
|
|
44
44
|
)
|
|
45
|
+
parser.add_argument(
|
|
46
|
+
"-l",
|
|
47
|
+
"--library",
|
|
48
|
+
choices=["endf", "tendl"],
|
|
49
|
+
default="tendl",
|
|
50
|
+
help="The nuclear data library. The currently supported options are endf and tendl",
|
|
51
|
+
)
|
|
45
52
|
parser.add_argument(
|
|
46
53
|
"-b",
|
|
47
54
|
"--branching_ratios",
|
|
48
55
|
choices=["None", "SFR", "PWR", "FNS"],
|
|
49
56
|
default="FNS",
|
|
50
57
|
help="The nuclear data library release version. The currently supported "
|
|
51
|
-
"options are b7.1 and b8.0 with branching ratio options of None,
|
|
52
|
-
"(sodium fast reactor), PWR (pressurized water reactor) or
|
|
53
|
-
"(fusion neutron source)"
|
|
58
|
+
"options are endf b7.1 and b8.0 with branching ratio options of None, "
|
|
59
|
+
"SFR (sodium fast reactor), PWR (pressurized water reactor) or tendl "
|
|
60
|
+
"2019 with FNS (fusion neutron source) branching ratio. The tendl "
|
|
61
|
+
"chains are processed with neutron induced fission yields from"
|
|
62
|
+
"ENDF/B-VIII.0. There is an option to use JEFF 3.3 if you generate"
|
|
63
|
+
"your own chain file with the generate_tendl_chain command line tool.",
|
|
54
64
|
)
|
|
55
65
|
|
|
56
66
|
parser.set_defaults()
|
|
@@ -59,11 +69,10 @@ args = parser.parse_args()
|
|
|
59
69
|
|
|
60
70
|
def main():
|
|
61
71
|
|
|
62
|
-
|
|
63
|
-
details = all_chain_release_details[library_name][args.release][args.branching_ratios]["chain"]
|
|
72
|
+
details = all_chain_release_details[args.library][args.release][args.branching_ratios]["chain"]
|
|
64
73
|
|
|
65
74
|
if args.filename is None:
|
|
66
|
-
args.filename = Path("-".join(["chain",
|
|
75
|
+
args.filename = Path("-".join(["chain", args.library, args.release])+".xml")
|
|
67
76
|
print(f'Using default filename {args.filename}')
|
|
68
77
|
|
|
69
78
|
download(
|
openmc_data/urls_xml.py
CHANGED
|
@@ -33,6 +33,10 @@ all_chain_release_details = {
|
|
|
33
33
|
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/chain_endf_b8.0_pwr.xml"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"tendl": {
|
|
39
|
+
"2019": {
|
|
36
40
|
"FNS": {
|
|
37
41
|
"chain": {
|
|
38
42
|
"url": "https://github.com/jbae11/openmc_activator/raw/refs/heads/main/fns_spectrum.chain.xml"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openmc_data
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.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
|
|
@@ -153,7 +153,7 @@ A few categories of scripts are available:
|
|
|
153
153
|
|
|
154
154
|
| Script name | Library | Release | Branching options|
|
|
155
155
|
|-|-|-|-|
|
|
156
|
-
|
|
|
156
|
+
|download_chain | ENDF/B<br><br><br>TENDL | VII.1<br>VIII.0<br><br>2019 | None<br>SFR<br>PWR<br><br>FNS |
|
|
157
157
|
|
|
158
158
|
<!-- | Sctipt name | Library | Release | Download available | Download ENDF files and generates XML chain files |
|
|
159
159
|
|-|-|-|-|-|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
openmc_data/__init__.py,sha256=fOMSqMJm50askApEA9aDzgevM1QC4S-wyAh5xuLdltY,786
|
|
2
|
-
openmc_data/_version.py,sha256=
|
|
2
|
+
openmc_data/_version.py,sha256=4lLWfgycoQE7rafXKcKQeSzbG6DAo6_kH0qn9J_0diQ,511
|
|
3
3
|
openmc_data/urls.py,sha256=_mS-1DqXB52hE3BSeDBVae5wMh5eTwGAgU7hcRkpUpg,20375
|
|
4
4
|
openmc_data/urls_chain.py,sha256=YGgGcQGq8LgbWJS8uqoB7xwtmIBY-CljAhxUBcOVivY,3774
|
|
5
5
|
openmc_data/urls_h5.py,sha256=jg6FezS4p-ltNVMzTLw6QVcOdyCzOaiCap7PqbfYFMY,1292
|
|
6
|
-
openmc_data/urls_xml.py,sha256=
|
|
6
|
+
openmc_data/urls_xml.py,sha256=Iqkcz-XLH7u2bJHCZkXuU7qSl2SibZ3BtADUPeIAgUc,1667
|
|
7
7
|
openmc_data/utils.py,sha256=mmYR2RNRe_GZfFU8WPyAlPIcbnOxF33W0BOI4jV0O70,7498
|
|
8
8
|
openmc_data/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
openmc_data/convert/convert_endf.py,sha256=6pP4wgaPTrCIK4qxOIp2CacFl-tMhQ0XvjDcWoCcI18,6610
|
|
@@ -41,8 +41,8 @@ openmc_data/depletion/serpent_fissq.json,sha256=qmXD5cdJJcr4_kNGsSR1jZMGeZRQ1iiB
|
|
|
41
41
|
openmc_data/depletion/tendl2019_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
|
|
42
42
|
openmc_data/depletion/tendl2021_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
|
|
43
43
|
openmc_data/download/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
+
openmc_data/download/download_chain.py,sha256=JbKYlgsde5dwmaHFrEuvqV8FJN3rBR6a9jFvxJ_RKWs,2352
|
|
44
45
|
openmc_data/download/download_endf.py,sha256=Sl1WkGqoAS1SweBWrySp8yR_nLTTJgeyezyOsChepu8,2845
|
|
45
|
-
openmc_data/download/download_endf_chain.py,sha256=kfL3YLHbhkhlAH66LzfSLulsGkQhOE5xirs8_MF-yV0,1900
|
|
46
46
|
openmc_data/download/download_tendl.py,sha256=Ku1cHcmWXX93LT9s-Grcn-SoFHbqxw7T0zNDUD9Kjgs,2839
|
|
47
47
|
openmc_data/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
48
|
openmc_data/generate/generate_cendl.py,sha256=naeFyC99lLXutl6y9n4qebgMc-k2gMt9XC9kb_jL1HQ,6223
|
|
@@ -56,9 +56,9 @@ openmc_data/other/convert_tendl_rand.py,sha256=F3fq4vQ0kin_FjwAhZm8HP8GzQsk-1gYf
|
|
|
56
56
|
openmc_data/other/make_compton.py,sha256=xsY4fLHWceiRA8tUBVavlZ1TbIDk5HKgikWytEqq6vE,2466
|
|
57
57
|
openmc_data/other/make_stopping_powers.py,sha256=4Qy9L6VAHm5sMLrDadWX-xS8TSeT-QTiNHDXmZIcT7I,1956
|
|
58
58
|
openmc_data/other/sample_sandy.py,sha256=uwmZk_XZ59VJOLYqp8cOCruW45qTKzlbeuBwXB6Fk1c,6184
|
|
59
|
-
openmc_data-2.3.
|
|
60
|
-
openmc_data-2.3.
|
|
61
|
-
openmc_data-2.3.
|
|
62
|
-
openmc_data-2.3.
|
|
63
|
-
openmc_data-2.3.
|
|
64
|
-
openmc_data-2.3.
|
|
59
|
+
openmc_data-2.3.1.dist-info/licenses/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
|
|
60
|
+
openmc_data-2.3.1.dist-info/METADATA,sha256=u0QCFtmkVDebiKVeL_pgQYNNzJBhWMLA2sMXhPkCUcQ,9148
|
|
61
|
+
openmc_data-2.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
62
|
+
openmc_data-2.3.1.dist-info/entry_points.txt,sha256=41OOHtvaj_cqmMrQCltZLU5xZcARcNNRoiFGUvqrmXY,1785
|
|
63
|
+
openmc_data-2.3.1.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
|
|
64
|
+
openmc_data-2.3.1.dist-info/RECORD,,
|
|
@@ -10,8 +10,8 @@ convert_mcnp70 = openmc_data.convert.convert_mcnp70:main
|
|
|
10
10
|
convert_mcnp71 = openmc_data.convert.convert_mcnp71:main
|
|
11
11
|
convert_tendl = openmc_data.convert.convert_tendl:main
|
|
12
12
|
convert_tendl_rand = openmc_data.other.convert_tendl_rand:main
|
|
13
|
+
download_chain = openmc_data.download.download_chain:main
|
|
13
14
|
download_endf = openmc_data.download.download_endf:main
|
|
14
|
-
download_endf_chain = openmc_data.download.download_endf_chain:main
|
|
15
15
|
download_tendl = openmc_data.download.download_tendl:main
|
|
16
16
|
generate_cendl = openmc_data.generate.generate_cendl:main
|
|
17
17
|
generate_endf = openmc_data.generate.generate_endf:main
|
|
File without changes
|
|
File without changes
|
|
File without changes
|