openmc-data 2.3.0__py3-none-any.whl → 2.3.2__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 +16 -3
- openmc_data/convert/convert_fendl.py +2 -2
- openmc_data/convert/convert_jeff32.py +2 -2
- openmc_data/convert/convert_jeff33.py +2 -2
- openmc_data/convert/convert_tendl.py +2 -2
- openmc_data/download/{download_endf_chain.py → download_chain.py} +17 -8
- openmc_data/generate/generate_cendl.py +2 -2
- openmc_data/generate/generate_endf.py +2 -2
- openmc_data/generate/generate_fendl.py +3 -3
- openmc_data/generate/generate_jeff33.py +2 -2
- openmc_data/generate/generate_jendl.py +2 -2
- openmc_data/generate/generate_tendl.py +124 -0
- openmc_data/urls.py +24 -0
- openmc_data/urls_xml.py +4 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/METADATA +4 -3
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/RECORD +20 -19
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/entry_points.txt +2 -1
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/WHEEL +0 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/licenses/LICENSE +0 -0
- {openmc_data-2.3.0.dist-info → openmc_data-2.3.2.dist-info}/top_level.txt +0 -0
openmc_data/_version.py
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
3
|
|
|
4
|
-
__all__ = [
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
5
12
|
|
|
6
13
|
TYPE_CHECKING = False
|
|
7
14
|
if TYPE_CHECKING:
|
|
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
|
|
|
9
16
|
from typing import Union
|
|
10
17
|
|
|
11
18
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
12
20
|
else:
|
|
13
21
|
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
14
23
|
|
|
15
24
|
version: str
|
|
16
25
|
__version__: str
|
|
17
26
|
__version_tuple__: VERSION_TUPLE
|
|
18
27
|
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
19
30
|
|
|
20
|
-
__version__ = version = '2.3.
|
|
21
|
-
__version_tuple__ = version_tuple = (2, 3,
|
|
31
|
+
__version__ = version = '2.3.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 3, 2)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = None
|
|
@@ -32,13 +32,13 @@ parser.add_argument(
|
|
|
32
32
|
help="Directory to create new library in",
|
|
33
33
|
)
|
|
34
34
|
parser.add_argument(
|
|
35
|
-
"--download", action="store_true", help="Download files
|
|
35
|
+
"--download", action="store_true", help="Download files"
|
|
36
36
|
)
|
|
37
37
|
parser.add_argument(
|
|
38
38
|
"--no-download",
|
|
39
39
|
dest="download",
|
|
40
40
|
action="store_false",
|
|
41
|
-
help="Do not download files
|
|
41
|
+
help="Do not download files",
|
|
42
42
|
)
|
|
43
43
|
parser.add_argument("--extract", action="store_true", help="Extract tar/zip files")
|
|
44
44
|
parser.add_argument(
|
|
@@ -32,13 +32,13 @@ parser.add_argument(
|
|
|
32
32
|
help="Directory to create new library in",
|
|
33
33
|
)
|
|
34
34
|
parser.add_argument(
|
|
35
|
-
"--download", action="store_true", help="Download files
|
|
35
|
+
"--download", action="store_true", help="Download files files"
|
|
36
36
|
)
|
|
37
37
|
parser.add_argument(
|
|
38
38
|
"--no-download",
|
|
39
39
|
dest="download",
|
|
40
40
|
action="store_false",
|
|
41
|
-
help="Do not download files
|
|
41
|
+
help="Do not download files files",
|
|
42
42
|
)
|
|
43
43
|
parser.add_argument("--extract", action="store_true", help="Extract tar/zip files")
|
|
44
44
|
parser.add_argument(
|
|
@@ -35,13 +35,13 @@ parser.add_argument(
|
|
|
35
35
|
help="Directory to create new library in",
|
|
36
36
|
)
|
|
37
37
|
parser.add_argument(
|
|
38
|
-
"--download", action="store_true", help="Download
|
|
38
|
+
"--download", action="store_true", help="Download files"
|
|
39
39
|
)
|
|
40
40
|
parser.add_argument(
|
|
41
41
|
"--no-download",
|
|
42
42
|
dest="download",
|
|
43
43
|
action="store_false",
|
|
44
|
-
help="Do not download
|
|
44
|
+
help="Do not download files",
|
|
45
45
|
)
|
|
46
46
|
parser.add_argument("--extract", action="store_true", help="Extract zip files")
|
|
47
47
|
parser.add_argument(
|
|
@@ -32,12 +32,12 @@ parser.add_argument(
|
|
|
32
32
|
default=None,
|
|
33
33
|
help="Directory to create new library in",
|
|
34
34
|
)
|
|
35
|
-
parser.add_argument("--download", action="store_true", help="Download files
|
|
35
|
+
parser.add_argument("--download", action="store_true", help="Download files")
|
|
36
36
|
parser.add_argument(
|
|
37
37
|
"--no-download",
|
|
38
38
|
dest="download",
|
|
39
39
|
action="store_false",
|
|
40
|
-
help="Do not download files
|
|
40
|
+
help="Do not download files",
|
|
41
41
|
)
|
|
42
42
|
parser.add_argument("--extract", action="store_true", help="Extract tar/zip files")
|
|
43
43
|
parser.add_argument(
|
|
@@ -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(
|
|
@@ -26,9 +26,9 @@ parser = argparse.ArgumentParser(
|
|
|
26
26
|
parser.add_argument('-d', '--destination', type=Path, default=None,
|
|
27
27
|
help='Directory to create new library in')
|
|
28
28
|
parser.add_argument('--download', action='store_true',
|
|
29
|
-
help='Download files
|
|
29
|
+
help='Download files')
|
|
30
30
|
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
31
|
-
help='Do not download files
|
|
31
|
+
help='Do not download files')
|
|
32
32
|
parser.add_argument('--extract', action='store_true',
|
|
33
33
|
help='Extract tar/zip files')
|
|
34
34
|
parser.add_argument('--no-extract', dest='extract', action='store_false',
|
|
@@ -35,9 +35,9 @@ parser = argparse.ArgumentParser(
|
|
|
35
35
|
parser.add_argument('-d', '--destination', type=Path,
|
|
36
36
|
help='Directory to create new library in')
|
|
37
37
|
parser.add_argument('--download', action='store_true',
|
|
38
|
-
help='Download
|
|
38
|
+
help='Download files')
|
|
39
39
|
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
40
|
-
help='Do not download
|
|
40
|
+
help='Do not download files')
|
|
41
41
|
parser.add_argument('--extract', action='store_true',
|
|
42
42
|
help='Extract zip files')
|
|
43
43
|
parser.add_argument('--no-extract', dest='extract', action='store_false',
|
|
@@ -27,9 +27,9 @@ parser = argparse.ArgumentParser(
|
|
|
27
27
|
parser.add_argument('-d', '--destination', type=Path, default=None,
|
|
28
28
|
help='Directory to create new library in')
|
|
29
29
|
parser.add_argument('--download', action='store_true',
|
|
30
|
-
help='Download files
|
|
30
|
+
help='Download files')
|
|
31
31
|
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
32
|
-
help='Do not download files
|
|
32
|
+
help='Do not download files')
|
|
33
33
|
parser.add_argument('--extract', action='store_true',
|
|
34
34
|
help='Extract tar/zip files')
|
|
35
35
|
parser.add_argument('--no-extract', dest='extract', action='store_false',
|
|
@@ -40,7 +40,7 @@ parser.add_argument('--libver', choices=['earliest', 'latest'],
|
|
|
40
40
|
"performance")
|
|
41
41
|
parser.add_argument('-r', '--release', choices=["3.2c", "3.2b", "3.2a", "3.2", "3.1d", "3.1a", "3.0"], default="3.2c",
|
|
42
42
|
help="The nuclear data library release version. "
|
|
43
|
-
"The options currently supported are 3.2b, 3.2a, 3.2, 3.1d, 3.1a, 3.0")
|
|
43
|
+
"The options currently supported are 3.2c, 3.2b, 3.2a, 3.2, 3.1d, 3.1a, 3.0")
|
|
44
44
|
parser.add_argument('--cleanup', action='store_true',
|
|
45
45
|
help="Remove download directories when data has "
|
|
46
46
|
"been processed")
|
|
@@ -42,9 +42,9 @@ parser.add_argument('--libver', choices=['earliest', 'latest'],
|
|
|
42
42
|
"'earliest' for backwards compatibility or 'latest' for "
|
|
43
43
|
"performance")
|
|
44
44
|
parser.add_argument('--download', action='store_true',
|
|
45
|
-
help='Download
|
|
45
|
+
help='Download files')
|
|
46
46
|
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
47
|
-
help='Do not download
|
|
47
|
+
help='Do not download files')
|
|
48
48
|
parser.add_argument('--use-tmpdir', dest='tmpdir', action='store_true',
|
|
49
49
|
help='Use temporary directory while processing')
|
|
50
50
|
parser.add_argument('--no-use-tmpdir', dest='tmpdir', action='store_false',
|
|
@@ -27,9 +27,9 @@ parser = argparse.ArgumentParser(
|
|
|
27
27
|
parser.add_argument('-d', '--destination', type=Path, default=None,
|
|
28
28
|
help='Directory to create new library in')
|
|
29
29
|
parser.add_argument('--download', action='store_true',
|
|
30
|
-
help='Download files
|
|
30
|
+
help='Download files')
|
|
31
31
|
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
32
|
-
help='Do not download files
|
|
32
|
+
help='Do not download files')
|
|
33
33
|
parser.add_argument('--extract', action='store_true',
|
|
34
34
|
help='Extract tar/zip files')
|
|
35
35
|
parser.add_argument('--no-extract', dest='extract', action='store_false',
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Download TENDL data from PSI and convert it to a HDF5 library for
|
|
5
|
+
use with OpenMC.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import argparse
|
|
9
|
+
import ssl
|
|
10
|
+
from multiprocessing import Pool
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
from urllib.parse import urljoin
|
|
13
|
+
|
|
14
|
+
import openmc.data
|
|
15
|
+
from openmc_data import download, extract, process_neutron, state_download_size, all_release_details
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter,
|
|
19
|
+
argparse.RawDescriptionHelpFormatter):
|
|
20
|
+
pass
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
parser = argparse.ArgumentParser(
|
|
24
|
+
description=__doc__,
|
|
25
|
+
formatter_class=CustomFormatter
|
|
26
|
+
)
|
|
27
|
+
parser.add_argument('-d', '--destination', type=Path, default=None,
|
|
28
|
+
help='Directory to create new library in')
|
|
29
|
+
parser.add_argument('--download', action='store_true',
|
|
30
|
+
help='Download files')
|
|
31
|
+
parser.add_argument('--no-download', dest='download', action='store_false',
|
|
32
|
+
help='Do not download files')
|
|
33
|
+
parser.add_argument('--extract', action='store_true',
|
|
34
|
+
help='Extract tar/zip files')
|
|
35
|
+
parser.add_argument('--no-extract', dest='extract', action='store_false',
|
|
36
|
+
help='Do not extract tar/zip files')
|
|
37
|
+
parser.add_argument('--libver', choices=['earliest', 'latest'],
|
|
38
|
+
default='latest', help="Output HDF5 versioning. Use "
|
|
39
|
+
"'earliest' for backwards compatibility or 'latest' for "
|
|
40
|
+
"performance")
|
|
41
|
+
parser.add_argument('-r', '--release', choices=["2023", "2025"], default="2025",
|
|
42
|
+
help="The nuclear data library release version. "
|
|
43
|
+
"The options currently supported are 2023 and 2025")
|
|
44
|
+
parser.add_argument('--cleanup', action='store_true',
|
|
45
|
+
help="Remove download directories when data has "
|
|
46
|
+
"been processed")
|
|
47
|
+
parser.add_argument('--no-cleanup', dest='cleanup', action='store_false',
|
|
48
|
+
help="Do not remove download directories when data has "
|
|
49
|
+
"been processed")
|
|
50
|
+
parser.set_defaults(download=True, extract=True, cleanup=False)
|
|
51
|
+
args = parser.parse_args()
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def main():
|
|
55
|
+
|
|
56
|
+
library_name = 'tendl'
|
|
57
|
+
|
|
58
|
+
cwd = Path.cwd()
|
|
59
|
+
|
|
60
|
+
endf_files_dir = cwd.joinpath('-'.join([library_name, args.release, 'endf']))
|
|
61
|
+
download_path = cwd.joinpath('-'.join([library_name, args.release, 'download']))
|
|
62
|
+
# the destination is decided after the release is known
|
|
63
|
+
# to avoid putting the release in a folder with a misleading name
|
|
64
|
+
if args.destination is None:
|
|
65
|
+
args.destination = Path('-'.join([library_name, args.release, 'hdf5']))
|
|
66
|
+
|
|
67
|
+
# This dictionary contains all the unique information about each release.
|
|
68
|
+
# This can be exstened to accommodated new releases
|
|
69
|
+
details = all_release_details[library_name][args.release]['neutron']['endf']
|
|
70
|
+
|
|
71
|
+
# ==============================================================================
|
|
72
|
+
# DOWNLOAD FILES FROM WEBSITE
|
|
73
|
+
|
|
74
|
+
if args.download:
|
|
75
|
+
state_download_size(details['compressed_file_size'], details['uncompressed_file_size'], 'GB')
|
|
76
|
+
for f in details['compressed_files']:
|
|
77
|
+
# Establish connection to URL
|
|
78
|
+
download(
|
|
79
|
+
urljoin(details['base_url'], f),
|
|
80
|
+
context=ssl._create_unverified_context(),
|
|
81
|
+
output_path=download_path,
|
|
82
|
+
as_browser=True
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
# ==============================================================================
|
|
86
|
+
# EXTRACT FILES FROM TGZ
|
|
87
|
+
if args.extract:
|
|
88
|
+
extract(
|
|
89
|
+
compressed_files=[download_path/ f for f in details['compressed_files']],
|
|
90
|
+
extraction_dir=endf_files_dir,
|
|
91
|
+
del_compressed_file=args.cleanup
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
# ==============================================================================
|
|
95
|
+
# GENERATE HDF5 LIBRARY -- NEUTRON FILES
|
|
96
|
+
|
|
97
|
+
# Get a list of all ENDF files
|
|
98
|
+
neutron_files = endf_files_dir.glob(details['endf_files'])
|
|
99
|
+
|
|
100
|
+
# Create output directory if it doesn't exist
|
|
101
|
+
args.destination.mkdir(parents=True, exist_ok=True)
|
|
102
|
+
|
|
103
|
+
library = openmc.data.DataLibrary()
|
|
104
|
+
|
|
105
|
+
with Pool() as pool:
|
|
106
|
+
results = []
|
|
107
|
+
for filename in sorted(neutron_files):
|
|
108
|
+
func_args = (filename, args.destination, args.libver)
|
|
109
|
+
r = pool.apply_async(process_neutron, func_args)
|
|
110
|
+
results.append(r)
|
|
111
|
+
|
|
112
|
+
for r in results:
|
|
113
|
+
r.wait()
|
|
114
|
+
|
|
115
|
+
# Register with library
|
|
116
|
+
for p in sorted((args.destination).glob('*.h5')):
|
|
117
|
+
library.register_file(p)
|
|
118
|
+
|
|
119
|
+
# Write cross_sections.xml
|
|
120
|
+
library.export_to_xml(args.destination / 'cross_sections.xml')
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
if __name__ == '__main__':
|
|
124
|
+
main()
|
openmc_data/urls.py
CHANGED
|
@@ -48,6 +48,30 @@ all_release_details = {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
+
"2023": {
|
|
52
|
+
"neutron": {
|
|
53
|
+
"endf": {
|
|
54
|
+
"base_url": "https://tendl.web.psi.ch/tendl_2023/tar_files/",
|
|
55
|
+
"compressed_files": ["TENDL-n.2024new.tgz"],
|
|
56
|
+
"endf_files": "n-*.tendl",
|
|
57
|
+
"metastables": "n-*m.tendl",
|
|
58
|
+
"compressed_file_size": 3.5,
|
|
59
|
+
"uncompressed_file_size": 20,
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"2025": {
|
|
64
|
+
"neutron": {
|
|
65
|
+
"endf": {
|
|
66
|
+
"base_url": "https://tendl.web.psi.ch/tendl_2025/tar_files/",
|
|
67
|
+
"compressed_files": ["TENDL-n.tgz"],
|
|
68
|
+
"endf_files": "n-*.tendl",
|
|
69
|
+
"metastables": "n-*m.tendl",
|
|
70
|
+
"compressed_file_size": 3.1,
|
|
71
|
+
"uncompressed_file_size": 13.9,
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
51
75
|
},
|
|
52
76
|
"fendl": {
|
|
53
77
|
"3.2c": {
|
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.2
|
|
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
|
|
@@ -110,8 +110,9 @@ A few categories of scripts are available:
|
|
|
110
110
|
|-|-|-|-|
|
|
111
111
|
| generate_cendl | CENDL | 3.1<br>3.2 | |
|
|
112
112
|
| generate_endf | ENDF/B | VII.1<br>VIII.0 | NNDC |
|
|
113
|
-
| generate_fendl | FENDL | 3.2b<br>3.2a<br>3.2<br>3.1d<br>3.1a<br>3.0 | |
|
|
113
|
+
| generate_fendl | FENDL | 3.2c<br>3.2b<br>3.2a<br>3.2<br>3.1d<br>3.1a<br>3.0 | |
|
|
114
114
|
| generate_jendl | JENDL | 4.0<br>5.0 | |
|
|
115
|
+
| generate_tendl | TENDL | 2023<br>2025 | |
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
### Download cross sections
|
|
@@ -153,7 +154,7 @@ A few categories of scripts are available:
|
|
|
153
154
|
|
|
154
155
|
| Script name | Library | Release | Branching options|
|
|
155
156
|
|-|-|-|-|
|
|
156
|
-
|
|
|
157
|
+
|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
158
|
|
|
158
159
|
<!-- | Sctipt name | Library | Release | Download available | Download ENDF files and generates XML chain files |
|
|
159
160
|
|-|-|-|-|-|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
openmc_data/__init__.py,sha256=fOMSqMJm50askApEA9aDzgevM1QC4S-wyAh5xuLdltY,786
|
|
2
|
-
openmc_data/_version.py,sha256=
|
|
3
|
-
openmc_data/urls.py,sha256=
|
|
2
|
+
openmc_data/_version.py,sha256=r_kNhOm1Zv9Bm_gmCRLZtsspWUPy1zMnegJG1kUyeyA,704
|
|
3
|
+
openmc_data/urls.py,sha256=aO_jejv3Bmuesbsar-Hbxovquv6O3twDArdT5_0THGY,21277
|
|
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
|
|
10
|
-
openmc_data/convert/convert_fendl.py,sha256=
|
|
11
|
-
openmc_data/convert/convert_jeff32.py,sha256=
|
|
12
|
-
openmc_data/convert/convert_jeff33.py,sha256=
|
|
10
|
+
openmc_data/convert/convert_fendl.py,sha256=1my6tydddYHXz7oZhAVC9uBoHORA9ZThQIWsgL9_7Hw,10492
|
|
11
|
+
openmc_data/convert/convert_jeff32.py,sha256=y6kFkF6s9DByv4T1haXN1mf-CPh5VhS4RsuLae7ydeQ,8628
|
|
12
|
+
openmc_data/convert/convert_jeff33.py,sha256=Yb7cjJpUdCymeXG-3KaK0-nNL6pUSJdIJaqKMmMx3Fg,6416
|
|
13
13
|
openmc_data/convert/convert_lib80x.py,sha256=ZVeMj2AW6HeP3TRUo791-gyfv0MA7JhIJn0Q9TKuPW0,3425
|
|
14
14
|
openmc_data/convert/convert_mcnp70.py,sha256=Y1SKKjxFJIm9A-3VIID_DmjjyCCuPMCyPhkbrsEMVL8,4891
|
|
15
15
|
openmc_data/convert/convert_mcnp71.py,sha256=a2jygs1Y6wXyHcS6HYU9hAAkMhtPOiyUZ-WVp-957V8,4646
|
|
16
|
-
openmc_data/convert/convert_tendl.py,sha256=
|
|
16
|
+
openmc_data/convert/convert_tendl.py,sha256=XPgbKnmLg3DgcCieRhP92le_b54ypnFhSS_gY6DWR8c,5569
|
|
17
17
|
openmc_data/depletion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
openmc_data/depletion/add_branching_ratios.py,sha256=epk58C0-u7zNdbRJcTeXNs2tKxa1lykVp_L2utkTQWI,1596
|
|
19
19
|
openmc_data/depletion/branching_ratios_pwr.json,sha256=6sLpmQjhkg1-gsgeeH7grSm-nepaYEoZn8rMi857xyM,5498
|
|
@@ -41,24 +41,25 @@ 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
|
-
openmc_data/generate/generate_cendl.py,sha256=
|
|
49
|
-
openmc_data/generate/generate_endf.py,sha256=
|
|
50
|
-
openmc_data/generate/generate_fendl.py,sha256=
|
|
51
|
-
openmc_data/generate/generate_jeff33.py,sha256=
|
|
52
|
-
openmc_data/generate/generate_jendl.py,sha256=
|
|
48
|
+
openmc_data/generate/generate_cendl.py,sha256=XYRE1oIFhDzfbKLbVIzPv-na_HEWerHYZuFYMaJey8I,6195
|
|
49
|
+
openmc_data/generate/generate_endf.py,sha256=MrQTVxk61Zw7Kta7q-GvVMDuWD2sFCzblZisFLwpFSc,17943
|
|
50
|
+
openmc_data/generate/generate_fendl.py,sha256=lflsSgeHYb1rjJoC6s8GDUHJHKMDqxMuVDlT1su3Z0s,4670
|
|
51
|
+
openmc_data/generate/generate_jeff33.py,sha256=haq3obZbLDEbEP23-I1dRs4ORsl3WS-hwDhNzmSRcUg,8670
|
|
52
|
+
openmc_data/generate/generate_jendl.py,sha256=99HNnwcQX7kK5sGN9JyE0Pd5mmEb3Qrb64EVnp3zu_8,4970
|
|
53
|
+
openmc_data/generate/generate_tendl.py,sha256=rS_YAC6OUpvcAqjNWkpZ1yEioUKCPgdjz3X5DMSc2iI,4606
|
|
53
54
|
openmc_data/other/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
55
|
openmc_data/other/combine_libraries.py,sha256=HQvR9ppPL_kLoWC478tFLG_hFfug0EmkvW3bN03FYBk,4250
|
|
55
56
|
openmc_data/other/convert_tendl_rand.py,sha256=F3fq4vQ0kin_FjwAhZm8HP8GzQsk-1gYfWxgKDYN9S0,10619
|
|
56
57
|
openmc_data/other/make_compton.py,sha256=xsY4fLHWceiRA8tUBVavlZ1TbIDk5HKgikWytEqq6vE,2466
|
|
57
58
|
openmc_data/other/make_stopping_powers.py,sha256=4Qy9L6VAHm5sMLrDadWX-xS8TSeT-QTiNHDXmZIcT7I,1956
|
|
58
59
|
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.
|
|
60
|
+
openmc_data-2.3.2.dist-info/licenses/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
|
|
61
|
+
openmc_data-2.3.2.dist-info/METADATA,sha256=sQ1f6fwNZ-K_ZygDlh_-2BLf1sVU1PrswmQ4kJPlpQ4,9200
|
|
62
|
+
openmc_data-2.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
63
|
+
openmc_data-2.3.2.dist-info/entry_points.txt,sha256=gAsZcoRKqgKvG7Ud0rEA3d-urR7ZbHhP_kiZmqndr6A,1843
|
|
64
|
+
openmc_data-2.3.2.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
|
|
65
|
+
openmc_data-2.3.2.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
|
|
@@ -23,6 +23,7 @@ generate_jeff_chain = openmc_data.depletion.generate_jeff_chain:main
|
|
|
23
23
|
generate_jendl = openmc_data.generate.generate_jendl:main
|
|
24
24
|
generate_jendl_chain = openmc_data.depletion.generate_jendl_chain:main
|
|
25
25
|
generate_serpent_fissq = openmc_data.depletion.generate_serpent_fissq:main
|
|
26
|
+
generate_tendl = openmc_data.generate.generate_tendl:main
|
|
26
27
|
generate_tendl_chain = openmc_data.depletion.generate_tendl_chain:main
|
|
27
28
|
make_compton = openmc_data.other.make_compton:main
|
|
28
29
|
make_stopping_powers = openmc_data.other.make_stopping_powers:main
|
|
File without changes
|
|
File without changes
|
|
File without changes
|