openmc-data 0.1.4__py3-none-any.whl → 0.2.0__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/__init__.py CHANGED
@@ -2,3 +2,4 @@ from .utils import download, extract, process_neutron, process_thermal, state_do
2
2
  from .urls import all_release_details
3
3
  from .urls_h5 import all_h5_release_details
4
4
  from .urls_xml import all_chain_release_details
5
+ from .urls_chain import all_decay_release_details
openmc_data/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '0.1.4'
4
- __version_tuple__ = version_tuple = (0, 1, 4)
3
+ __version__ = version = '0.2.0'
4
+ __version_tuple__ = version_tuple = (0, 2, 0)
@@ -29,7 +29,7 @@ parser.add_argument(
29
29
  "-d",
30
30
  "--destination",
31
31
  type=Path,
32
- default="nndc-b7.1-hdf5",
32
+ default="endf-b7.1-hdf5",
33
33
  help="Directory to create new library in",
34
34
  )
35
35
  parser.add_argument(
@@ -81,7 +81,7 @@ args = parser.parse_args()
81
81
 
82
82
  def main():
83
83
 
84
- library_name = "nndc"
84
+ library_name = "endf"
85
85
  release = "b7.1"
86
86
 
87
87
  cwd = Path.cwd()
@@ -8,15 +8,15 @@ from urllib.parse import urljoin
8
8
  import openmc.deplete
9
9
 
10
10
  from openmc_data.utils import download, extract
11
-
11
+ from openmc_data import all_decay_release_details
12
12
 
13
13
 
14
14
  # Parse command line arguments
15
15
  parser = ArgumentParser()
16
- parser.add_argument('-r', '--release', choices=['vii.1', 'viii.0'],
17
- default='viii.0', help="The nuclear data library release "
18
- "version. The currently supported options are vii.1, "
19
- "viii.0")
16
+ parser.add_argument('-r', '--release', choices=['b7.1', 'b8.0'],
17
+ default='b8.0', help="The nuclear data library release "
18
+ "version. The currently supported options are n7.1, "
19
+ "b8.0")
20
20
  parser.add_argument(
21
21
  "-d",
22
22
  "--destination",
@@ -43,39 +43,9 @@ def main():
43
43
 
44
44
  # This dictionary contains all the unique information about each release.
45
45
  # This can be extended to accommodated new releases
46
- release_details = {
47
- 'vii.1': {
48
- 'neutron': {
49
- 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
50
- 'compressed_files': ['ENDF-B-VII.1-neutrons.zip'],
51
- },
52
- 'decay': {
53
- 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
54
- 'compressed_files': ['ENDF-B-VII.1-decay.zip']
55
- },
56
- 'nfy': {
57
- 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
58
- 'compressed_files': ['ENDF-B-VII.1-nfy.zip']
59
- }
60
- },
61
- 'viii.0': {
62
- 'neutron': {
63
- 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
64
- 'compressed_files': ['ENDF-B-VIII.0_neutrons.zip'],
65
- },
66
- 'decay': {
67
- 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
68
- 'compressed_files': ['ENDF-B-VIII.0_decay.zip']
69
- },
70
- 'nfy': {
71
- 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
72
- 'compressed_files': ['ENDF-B-VIII.0_nfy.zip']
73
- }
74
- }
75
- }
76
46
 
77
47
  for file_type, extract_dir in zip(['neutron', 'decay', 'nfy'], [neutron_dir, decay_dir, nfy_dir]):
78
- details = release_details[args.release][file_type]
48
+ details = all_decay_release_details[library_name][args.release][file_type]
79
49
  for base_url, file in zip(details['base_url'], details['compressed_files']):
80
50
  downloaded_file = download(
81
51
  url=urljoin(base_url, file),
@@ -107,5 +77,6 @@ def main():
107
77
  chain.export_to_xml(args.destination)
108
78
  print(f'Chain file written to {args.destination}')
109
79
 
80
+
110
81
  if __name__ == '__main__':
111
82
  main()
@@ -8,26 +8,34 @@ library should be used for decay and FPY evaluations and defaults to JEFF 3.3.
8
8
  """
9
9
 
10
10
  import json
11
- import tarfile
12
11
  from argparse import ArgumentParser
13
12
  from pathlib import Path
14
13
  from urllib.parse import urljoin
15
- from zipfile import ZipFile
16
14
  import openmc_data
17
15
 
18
16
  import openmc.data
19
17
  import openmc.deplete as dep
20
18
 
21
19
  from openmc_data.utils import download, extract
20
+ from openmc_data import all_decay_release_details
22
21
 
23
22
  # Parse command line arguments
24
23
  parser = ArgumentParser()
25
- parser.add_argument('--lib', choices=('jeff33', 'endf80'), default='jeff33',
26
- help='Library to use for decay and fission product yields')
27
- parser.add_argument('-r', '--release', choices=['2019', '2021'],
28
- default='2021', help="The nuclear data library release "
29
- "version. The currently supported options are 2019, "
30
- "and 2021.")
24
+ parser.add_argument(
25
+ "--lib",
26
+ choices=("jeff33", "endf80"),
27
+ default="jeff33",
28
+ help="Library to use for decay and fission product yields",
29
+ )
30
+ parser.add_argument(
31
+ "-r",
32
+ "--release",
33
+ choices=["2015", "2017", "2019", "2021"],
34
+ default="2021",
35
+ help="The nuclear data library release "
36
+ "version. The currently supported options are 2019, "
37
+ "and 2021.",
38
+ )
31
39
  parser.add_argument(
32
40
  "-d",
33
41
  "--destination",
@@ -36,111 +44,126 @@ parser.add_argument(
36
44
  help="filename of the chain file xml file produced. If left as None then "
37
45
  "the filename will follow this format 'chain_tendl_{release}_{lib}.xml'",
38
46
  )
47
+ parser.add_argument("--extract", action="store_true", help="Extract tar/zip files")
48
+ parser.add_argument(
49
+ "--no-extract",
50
+ dest="extract",
51
+ action="store_false",
52
+ help="Do not extract tar/zip files",
53
+ )
54
+ parser.set_defaults(extract=True)
39
55
  args = parser.parse_args()
40
56
 
41
57
 
42
58
  def fix_jeff33_nfy(path):
43
- print(f'Fixing TPID in {path}...')
44
- new_path = path.with_name(path.name + '_fixed')
59
+ print(f"Fixing TPID in {path.name}...")
60
+ new_path = path.with_name(path.name + "_fixed")
45
61
  if not new_path.exists():
46
- with path.open('r') as f:
62
+ with path.open("r") as f:
47
63
  data = f.read()
48
- with new_path.open('w') as f:
64
+ with new_path.open("w") as f:
49
65
  # Write missing TPID line
50
- f.write(" "*66 + " 1 0 0 0\n")
66
+ f.write(" " * 66 + " 1 0 0 0\n")
51
67
  f.write(data)
52
68
  return new_path
53
69
 
54
70
 
55
71
  def main():
56
72
 
57
- library_name = 'tendl'
73
+ library_name = "tendl"
58
74
 
59
75
  cwd = Path.cwd()
60
76
 
61
- endf_files_dir = cwd.joinpath('-'.join([library_name, args.release, 'endf']))
62
- download_path = cwd.joinpath('-'.join([library_name, args.release, 'download']))
77
+ endf_files_dir = cwd.joinpath("-".join([library_name, args.release, "endf"]))
78
+ download_path = cwd.joinpath("-".join([library_name, args.release, "download"]))
63
79
 
64
- neutron_dir = endf_files_dir / "neutrons"
80
+ neutron_dir = endf_files_dir / "neutron"
65
81
  decay_dir = endf_files_dir / "decay"
66
82
  nfy_dir = endf_files_dir / "nfy"
67
83
 
68
84
  # This dictionary contains all the unique information about each release.
69
85
  # This can be extended to accommodated new releases
70
- release_details = {
71
- '2019': {
72
- 'base_url': 'https://tendl.web.psi.ch/tendl_2019/tar_files/',
73
- 'compressed_files': ['TENDL-n.tgz'],
74
- 'transport_nuclides': 'depletion/tendl2019_nuclides.json',
75
- 'neutron_files': endf_files_dir.glob('tendl19c/*'),
76
- },
77
- '2021': {
78
- 'base_url': 'https://tendl.web.psi.ch/tendl_2021/tar_files/',
79
- 'compressed_files': ['TENDL-n.tgz'],
80
- 'transport_nuclides': 'depletion/tendl2021_nuclides.json',
81
- 'neutron_files': endf_files_dir.glob('tendl21c/*'),
82
- }
83
- }
84
-
85
- DECAY_LIB = {
86
- 'jeff33': 'https://www.oecd-nea.org/dbdata/jeff/jeff33/downloads/JEFF33-rdd.zip',
87
- 'endf80': 'https://www.nndc.bnl.gov/endf-b8.0/zips/ENDF-B-VIII.0_decay.zip',
88
- }
89
- NFY_LIB = {
90
- 'jeff33': 'https://www.oecd-nea.org/dbdata/jeff/jeff33/downloads/JEFF33-nfy.asc',
91
- 'endf80': 'https://www.nndc.bnl.gov/endf-b8.0/zips/ENDF-B-VIII.0_nfy.zip',
92
- }
86
+ release_details = all_decay_release_details["tendl"][args.release]
93
87
 
88
+ # adds in either jeff or endf neutron fission yields and decay data
89
+ if args.lib == "jeff33":
90
+ release_details["decay"] = {
91
+ "base_url": "https://www.oecd-nea.org/dbdata/jeff/jeff33/downloads/",
92
+ "compressed_files": ["JEFF33-rdd.zip"],
93
+ }
94
+ release_details["nfy"] = {
95
+ "base_url": "https://www.oecd-nea.org/dbdata/jeff/jeff33/downloads/",
96
+ "compressed_files": ["JEFF33-nfy.asc"],
97
+ }
98
+ elif args.lib == "endf80":
99
+ release_details["decay"] = {
100
+ "base_url": "https://www.nndc.bnl.gov/endf-b8.0/zips/",
101
+ "compressed_files": ["ENDF-B-VIII.0_decay.zip"],
102
+ }
103
+ release_details["nfy"] = {
104
+ "base_url": "https://www.nndc.bnl.gov/endf-b8.0/zips/",
105
+ "compressed_files": ["ENDF-B-VIII.0_nfy.zip"],
106
+ }
107
+ else:
108
+ raise ValueError(
109
+ f"lib argument must be either jeff33 or endf80 and can not be {args.lib}"
110
+ )
94
111
 
95
112
  # ==========================================================================
96
113
  # Incident neutron data
97
- for f in release_details[args.release]['compressed_files']:
114
+ for f in release_details["neutron"]["compressed_files"]:
98
115
  downloaded_file = download(
99
- url=urljoin(release_details[args.release]['base_url'], f),
100
- output_path=download_path
116
+ url=urljoin(release_details["neutron"]["base_url"], f),
117
+ output_path=download_path,
101
118
  )
102
119
 
103
120
  extract(downloaded_file, neutron_dir)
104
121
 
105
- # Get list of transport nuclides in TENDL-2019
106
- with open(Path(openmc_data.__path__[0])/release_details[args.release]['transport_nuclides'], 'r') as fh:
107
- transport_nuclides = set(json.load(fh))
108
-
109
122
  neutron_files = [
110
123
  p
111
- for p in release_details[args.release]['neutron_files']
112
- if p.name[2:-6] in transport_nuclides # filename is n-XXNNN.tendl
124
+ for p in list(neutron_dir.rglob("*.tendl"))
113
125
  ]
114
-
126
+ print(neutron_files)
115
127
  # ==========================================================================
116
128
  # Decay and fission product yield data
117
129
 
118
- decay_zip = download(DECAY_LIB[args.lib], output_path=download_path)
119
- nfy_file = download(NFY_LIB[args.lib], output_path=download_path)
130
+ decay_zip = download(
131
+ urljoin(
132
+ release_details["decay"]["base_url"],
133
+ release_details["decay"]["compressed_files"][0],
134
+ ),
135
+ output_path=decay_dir,
136
+ )
137
+ nfy_zip = download(
138
+ urljoin(
139
+ release_details["nfy"]["base_url"],
140
+ release_details["nfy"]["compressed_files"][0],
141
+ ),
142
+ output_path=nfy_dir,
143
+ )
120
144
 
121
145
  extract(decay_zip, decay_dir)
122
- if args.lib == 'jeff33':
123
- decay_files = list(decay_dir.glob('*.ASC'))
124
146
 
147
+ if args.lib == "jeff33":
148
+ nfy_file = nfy_zip # file is already uncompressed
149
+ decay_files = list(decay_dir.glob("*.ASC"))
125
150
  nfy_file_fixed = fix_jeff33_nfy(nfy_file)
126
151
  nfy_files = openmc.data.endf.get_evaluations(nfy_file_fixed)
127
152
 
128
- elif args.lib == 'endf80':
129
- decay_files = list(decay_dir.rglob('*.endf'))
130
-
131
- extract(nfy_file, nfy_dir)
132
- nfy_files = list(nfy_dir.rglob('*.endf'))
153
+ elif args.lib == "endf80":
154
+ decay_files = list(decay_dir.rglob("*.endf"))
155
+ extract(nfy_zip, nfy_dir)
156
+ nfy_files = list(nfy_dir.rglob("*.endf"))
133
157
 
134
158
  chain = dep.Chain.from_endf(
135
- decay_files, nfy_files, neutron_files,
136
- reactions=dep.chain.REACTIONS.keys()
159
+ decay_files, nfy_files, neutron_files, reactions=dep.chain.REACTIONS.keys()
137
160
  )
138
161
 
139
162
  if args.destination is None:
140
- args.destination=f'chain_{library_name}_{args.release}_{args.lib}.xml'
163
+ args.destination = f"chain_{library_name}_{args.release}_{args.lib}.xml"
141
164
 
142
165
  chain.export_to_xml(args.destination)
143
- print(f'Chain file written to {args.destination}')
166
+ print(f"Chain file written to {args.destination}")
144
167
 
145
168
 
146
169
  if __name__ == "__main__":
@@ -66,7 +66,7 @@ args = parser.parse_args()
66
66
 
67
67
  def main():
68
68
 
69
- library_name = 'nndc'
69
+ library_name = 'endf'
70
70
  details = all_h5_release_details[library_name][args.release]["neutron-photon"]
71
71
 
72
72
  if args.destination is None:
@@ -49,7 +49,7 @@ args = parser.parse_args()
49
49
 
50
50
  def main():
51
51
 
52
- library_name = 'nndc'
52
+ library_name = 'endf'
53
53
  details = all_chain_release_details[library_name][args.release]["chain"]
54
54
 
55
55
  if args.filename is None:
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
3
  """
4
- Download JENDL 4.0 data from JAEA and convert it to a HDF5 library for
4
+ Download JENDL data from JAEA and convert it to a HDF5 library for
5
5
  use with OpenMC.
6
6
  """
7
7
 
@@ -38,9 +38,9 @@ parser.add_argument('--libver', choices=['earliest', 'latest'],
38
38
  default='latest', help="Output HDF5 versioning. Use "
39
39
  "'earliest' for backwards compatibility or 'latest' for "
40
40
  "performance")
41
- parser.add_argument('-r', '--release', choices=['4.0'], default='4.0',
41
+ parser.add_argument('-r', '--release', choices=['4.0', '5.0'], default='4.0',
42
42
  help="The nuclear data library release version. "
43
- "The only option currently supported is 4.0")
43
+ "The options currently supported are 4.0 and 5.0")
44
44
  parser.add_argument('--cleanup', action='store_true',
45
45
  help="Remove download directories when data has "
46
46
  "been processed")
@@ -75,9 +75,11 @@ def main():
75
75
  state_download_size(details['compressed_file_size'], details['uncompressed_file_size'], 'GB')
76
76
  for f in details['compressed_files']:
77
77
  # Establish connection to URL
78
- download(urljoin(details['base_url'], f),
79
- context=ssl._create_unverified_context(),
80
- output_path=download_path)
78
+ download(
79
+ urljoin(details['base_url'], f),
80
+ context=ssl._create_unverified_context(),
81
+ output_path=download_path
82
+ )
81
83
 
82
84
  # ==============================================================================
83
85
  # EXTRACT FILES FROM TGZ
@@ -88,7 +90,6 @@ def main():
88
90
  del_compressed_file=args.cleanup
89
91
  )
90
92
 
91
-
92
93
  # ==============================================================================
93
94
  # GENERATE HDF5 LIBRARY -- NEUTRON FILES
94
95
 
@@ -100,7 +101,6 @@ def main():
100
101
 
101
102
  library = openmc.data.DataLibrary()
102
103
 
103
-
104
104
  with Pool() as pool:
105
105
  results = []
106
106
  for filename in sorted(neutron_files):
@@ -32,7 +32,7 @@ parser.add_argument("-n", "--nuclides", nargs="+",
32
32
  parser.add_argument("-d", "--destination", default=None,
33
33
  help="Directory to create new library in")
34
34
  parser.add_argument("-l", "--libdir", default=None,
35
- help="Directory of endf library to sample eg. nndc-b7.1-endf folder")
35
+ help="Directory of endf library to sample")
36
36
  parser.add_argument("-x", "--xlib", default=None,
37
37
  help="cross_section.xml library to add random evaluations to. Default is OPENMC_CROSS_SECTIONS")
38
38
  parser.add_argument("-s", "--samples", default=200,
@@ -60,7 +60,7 @@ def main():
60
60
 
61
61
  libdir = args.libdir
62
62
  if libdir == None:
63
- raise Exception("Directory of ENDF library required for sampling, eg. nndc-b7.1-endf folder. Use -l prefix to specify")
63
+ raise Exception("Directory of ENDF library required for sampling. Use -l prefix to specify")
64
64
  else:
65
65
  libdir = Path(libdir).resolve()
66
66
 
openmc_data/urls.py CHANGED
@@ -205,7 +205,7 @@ all_release_details = {
205
205
  },
206
206
  },
207
207
  },
208
- 'nndc': {
208
+ 'endf': {
209
209
  "b7.1": {
210
210
  "neutron": {
211
211
  "base_url": "http://www.nndc.bnl.gov/endf-b7.1/aceFiles/",
@@ -318,6 +318,16 @@ all_release_details = {
318
318
  'compressed_file_size': '0.2',
319
319
  'uncompressed_file_size': '2'
320
320
  }
321
+ },
322
+ '5.0': {
323
+ 'neutron': {
324
+ 'base_url': 'https://wwwndc.jaea.go.jp/ftpnd/ftp/JENDL/',
325
+ 'compressed_files': ['jendl5-n.tar.gz'],
326
+ 'endf_files': 'jendl5-n/*.dat',
327
+ 'metastables': 'jendl5-n/*m1.dat',
328
+ 'compressed_file_size': '4.1',
329
+ 'uncompressed_file_size': '16'
330
+ }
321
331
  }
322
332
  }
323
333
  }
@@ -0,0 +1,58 @@
1
+ all_decay_release_details = {
2
+ 'endf': {
3
+ 'b7.1': {
4
+ 'neutron': {
5
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
6
+ 'compressed_files': ['ENDF-B-VII.1-neutrons.zip'],
7
+ },
8
+ 'decay': {
9
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
10
+ 'compressed_files': ['ENDF-B-VII.1-decay.zip']
11
+ },
12
+ 'nfy': {
13
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b7.1/zips/'],
14
+ 'compressed_files': ['ENDF-B-VII.1-nfy.zip']
15
+ }
16
+ },
17
+ 'b8.0': {
18
+ 'neutron': {
19
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
20
+ 'compressed_files': ['ENDF-B-VIII.0_neutrons.zip'],
21
+ },
22
+ 'decay': {
23
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
24
+ 'compressed_files': ['ENDF-B-VIII.0_decay.zip']
25
+ },
26
+ 'nfy': {
27
+ 'base_url': ['https://www.nndc.bnl.gov/endf-b8.0/zips/'],
28
+ 'compressed_files': ['ENDF-B-VIII.0_nfy.zip']
29
+ }
30
+ }
31
+ },
32
+ 'tendl': {
33
+ '2015': {
34
+ 'neutron':{
35
+ 'base_url': 'https://tendl.web.psi.ch/tendl_2015/tar_files/',
36
+ 'compressed_files': ['TENDL-n.tgz'],
37
+ }
38
+ },
39
+ '2017': {
40
+ 'neutron':{
41
+ 'base_url': 'https://tendl.web.psi.ch/tendl_2017/tar_files/',
42
+ 'compressed_files': ['TENDL-n.tgz'],
43
+ }
44
+ },
45
+ '2019': {
46
+ 'neutron':{
47
+ 'base_url': 'https://tendl.web.psi.ch/tendl_2019/tar_files/',
48
+ 'compressed_files': ['TENDL-n.tgz'],
49
+ }
50
+ },
51
+ '2021': {
52
+ 'neutron':{
53
+ 'base_url': 'https://tendl.web.psi.ch/tendl_2021/tar_files/',
54
+ 'compressed_files': ['TENDL-n.tgz'],
55
+ }
56
+ }
57
+ }
58
+ }
openmc_data/urls_h5.py CHANGED
@@ -1,5 +1,5 @@
1
1
  all_h5_release_details = {
2
- "nndc": {
2
+ "endf": {
3
3
  "b7.1": {
4
4
  "neutron-photon": {
5
5
  "base_url": "https://anl.box.com/shared/static/",
openmc_data/urls_xml.py CHANGED
@@ -1,5 +1,5 @@
1
1
  all_chain_release_details = {
2
- "nndc": {
2
+ "endf": {
3
3
  "b7.1": {
4
4
  "chain": {
5
5
  "url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/chain_endf_vii.1.xml",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openmc-data
3
- Version: 0.1.4
3
+ Version: 0.2.0
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
@@ -64,8 +64,6 @@ Currently the package can be installed from this temporary repository.
64
64
  pip install openmc_data
65
65
  ```
66
66
 
67
- In the future pip installing from PyPi or Conda could be provided
68
-
69
67
  # Usage
70
68
 
71
69
  Once installed several scripts are available in your terminal that are able to
@@ -75,7 +73,7 @@ The scripts accept input arguments, to find out the input arguments available
75
73
  for a particular script run the script name with ```--help``` after the name.
76
74
  For example:
77
75
 
78
- ```convert_nndc71 --help```
76
+ ```convert_endf --help```
79
77
 
80
78
  Some scripts (mainly the generate scripts) require NJOY to be installed and
81
79
  added to your path.
@@ -104,7 +102,7 @@ A few categories of scripts are available:
104
102
  |-|-|-|-|
105
103
  |convert_mcnp70 | ENDF/B | VII.0 | LANL |
106
104
  |convert_mcnp71 | ENDF/B | VII.1 | LANL |
107
- |convert_nndc | ENDF/B | VII.1 | NNDC |
105
+ |convert_endf | ENDF/B | VII.1 | NNDC |
108
106
  |convert_lib80x | ENDF/B | VIII.0 | LANL |
109
107
  |convert_fendl | FENDL | 2.1<br>3.0<br>3.1a<br>3.1d<br>3.2|
110
108
  |convert_jeff32 | JEFF | 3.2 |
@@ -117,13 +115,13 @@ A few categories of scripts are available:
117
115
  |-|-|-|-|
118
116
  | generate_cendl | CENDL | 3.1<br>3.2 | |
119
117
  | generate_endf | ENDF/B | VII.1<br>VIII.0 | NNDC |
120
- | generate_jendl | JENDL | 4.0 | |
118
+ | generate_jendl | JENDL | 4.0<br>5.0 | |
121
119
 
122
120
  ### Download cross sections
123
121
 
124
122
  | Script name | Library | Release | Processed by |
125
123
  |-|-|-|-|
126
- | download_nndc | ENDF/B | VII.1<br>VIII.0 | NNDC |
124
+ | download_endf | ENDF/B | VII.1<br>VIII.0 | NNDC |
127
125
 
128
126
  <!-- | Script name | Library | Release | Processed by | Download available | Downloads ACE files and convert to HDF5 | Downloads ENDF files and convert to HDF5 | Convert local ACE files |
129
127
  |-|-|-|-|-|-|-|-|
@@ -131,7 +129,7 @@ A few categories of scripts are available:
131
129
  |convert_mcnp70| ENDF/B | VII.0 | LANL | [openmc.org](https://anl.box.com/shared/static/t25g7g6v0emygu50lr2ych1cf6o7454b.xz) | | | :heavy_check_mark: |
132
130
  |convert_mcnp71| ENDF/B | VII.1 | LANL | [openmc.org](https://anl.box.com/shared/static/d359skd2w6wrm86om2997a1bxgigc8pu.xz) | | | :heavy_check_mark: |
133
131
  |generate_endf| ENDF/B | VII.1 | NNDC | [openmc.org](https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz) | | :heavy_check_mark: | |
134
- |convert_nndc71| ENDF/B | VII.1 | NNDC | [openmc.org](https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz) | :heavy_check_mark: | :heavy_check_mark: | |
132
+ |convert_endf| ENDF/B | VII.1 | NNDC | [openmc.org](https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz) | :heavy_check_mark: | :heavy_check_mark: | |
135
133
  |convert_lib80x| ENDF/B | VIII.0 | LANL | [openmc.org](https://anl.box.com/shared/static/nd7p4jherolkx4b1rfaw5uqp58nxtstr.xz) | | | :heavy_check_mark: |
136
134
  |generate_endf| ENDF/B | VIII.0 | NNDC | [openmc.org](https://anl.box.com/shared/static/uhbxlrx7hvxqw27psymfbhi7bx7s6u6a.xz) | | :heavy_check_mark: | |
137
135
  |convert_fendl| FENDL | 2.1<br>3.0<br>3.1a<br>3.1d<br>3.2 | | [openmc.org 3.2](https://anl.box.com/shared/static/3cb7jetw7tmxaw6nvn77x6c578jnm2ey.xz) | :heavy_check_mark: | | |
@@ -155,7 +153,7 @@ A few categories of scripts are available:
155
153
 
156
154
  | Script name | Library | Release | Processed by |
157
155
  |-|-|-|-|
158
- |download_nndc_chain | ENDF/B | VII.1<br>VIII.0 | NNDC |
156
+ |download_endf_chain | ENDF/B | VII.1<br>VIII.0 | NNDC |
159
157
 
160
158
  <!-- | Sctipt name | Library | Release | Download available | Download ENDF files and generates XML chain files |
161
159
  |-|-|-|-|-|
@@ -1,17 +1,18 @@
1
- openmc_data/__init__.py,sha256=B2sLjVpJvc291m5vOxhbUHALQTOu7PffxrXq9JNGJgM,222
2
- openmc_data/_version.py,sha256=UgZRKGYpmfG9sxWmuGh6CJhEM27F68eny3-OTrafEOU,160
3
- openmc_data/urls.py,sha256=DhO-n5ko3Go5lXwzXVOLhe5TUi3EQz_-mVXDtOYMa2g,12016
4
- openmc_data/urls_h5.py,sha256=tDU8m6CqL8PXSwM8Zn9SGNq0AjxqgLkIxQMVyq8hlZQ,670
5
- openmc_data/urls_xml.py,sha256=huP2i8jPneEbZ3AOInqTacHDWGReVkGA32znpXEj1hw,451
1
+ openmc_data/__init__.py,sha256=jaeYrI36AdJ1CPmgFvu8810SKD5czx-kNwx8srnoPS4,272
2
+ openmc_data/_version.py,sha256=dQUHa1PGpJsNE2x_SQFxtOX-jousEqplwH1bdsk6mnE,160
3
+ openmc_data/urls.py,sha256=MBAu8-IsrMu_epnzIw87t9Nf8eld9ut67ZLODOaMuzc,12407
4
+ openmc_data/urls_chain.py,sha256=01ZWeR5JysyKIoZWELu7a37EToNceY9aS2Sc0jGEYJI,2093
5
+ openmc_data/urls_h5.py,sha256=dO8rmGewFduZno2drzbGVLMsvNVkFP2Re4NCDKk1O8A,670
6
+ openmc_data/urls_xml.py,sha256=pyfykToDvaPjAE-Xeq-NQ5yTex-go-xXG4dJo2gPD10,451
6
7
  openmc_data/utils.py,sha256=KAMH2H5Uq7Uy2cYuzx0nD_xq9hZNJfStSmAk60JZz-g,6471
7
8
  openmc_data/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ openmc_data/convert/convert_endf.py,sha256=mjNsuKi7hmCObsMf5ksDXrrUm_KKOwtewzUJQTQsVBo,7017
8
10
  openmc_data/convert/convert_fendl.py,sha256=Ukt7nmP6vz5F5r2oCsZ9x0Y-kcdYxE0gJTU_yf_qY60,10837
9
11
  openmc_data/convert/convert_jeff32.py,sha256=YamQV_pxXEriu61GADCeTqUP7f6j8IqedPPWEzgp0E4,8568
10
12
  openmc_data/convert/convert_jeff33.py,sha256=7WZzEWmU6dnSiUhWcJ3rcoaH1BSq-LcjBSkfU55AnN4,6372
11
13
  openmc_data/convert/convert_lib80x.py,sha256=ZVeMj2AW6HeP3TRUo791-gyfv0MA7JhIJn0Q9TKuPW0,3425
12
14
  openmc_data/convert/convert_mcnp70.py,sha256=Y1SKKjxFJIm9A-3VIID_DmjjyCCuPMCyPhkbrsEMVL8,4891
13
15
  openmc_data/convert/convert_mcnp71.py,sha256=a2jygs1Y6wXyHcS6HYU9hAAkMhtPOiyUZ-WVp-957V8,4646
14
- openmc_data/convert/convert_nndc71.py,sha256=w4jO6bmOtl-K0lIg1fvpd4okcdu7PizRJCTtMkm8Edo,7017
15
16
  openmc_data/convert/convert_tendl.py,sha256=U8vyQTj023xAoFRKtGHmOlTFuZ2ZVZ3HgZ5oubf92Jo,5589
16
17
  openmc_data/depletion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
18
  openmc_data/depletion/add_branching_ratios.py,sha256=p0gMzK-ZmXv51mTwl6L7CE6dEooZG2MGI-u_sXSpUA8,860
@@ -26,30 +27,30 @@ openmc_data/depletion/chain_endf_viii.0.xml,sha256=5NdHlenZh3nOMf8S6ftXqpWkMBnTG
26
27
  openmc_data/depletion/chain_endfb71_pwr.xml,sha256=jAzAlbvI44zzv8xFZgHL1fTf-ZE12U2gDXpPCRBZgaI,1862978
27
28
  openmc_data/depletion/chain_endfb71_sfr.xml,sha256=s0OJwslf-xfNiROgPgY96wg7ddvRvBjKBcISNGjN_yw,1863707
28
29
  openmc_data/depletion/generate_endf71_chain_casl.py,sha256=Ny0MrXjO9NejP7hJD8pgaikadWuCF29VxNx3bPOyIyM,11156
29
- openmc_data/depletion/generate_endf_chain.py,sha256=weiVz4kmszCI6-OOejOvGAJa-rMtz2ulHhArpIK6qQc,3863
30
+ openmc_data/depletion/generate_endf_chain.py,sha256=967hgHrU9ZVg8C9csvSDm5ttsZA24K9xJ2_JBhaMi_M,2784
30
31
  openmc_data/depletion/generate_serpent_fissq.py,sha256=jvgk1qID7bBZhPPoAtJL5TR4eSgkU6IkfFUrwHYcsfE,1346
31
- openmc_data/depletion/generate_tendl_chain.py,sha256=cM8Gxx8AtNSjNN5qiQK-YL81EdTQfTVDlG0SXAW-Jbc,5049
32
+ openmc_data/depletion/generate_tendl_chain.py,sha256=MWMez5MslBDojO7Dcviq8U9KMy9S8W9S1zWSbVsEZwc,5368
32
33
  openmc_data/depletion/reduce_chain.py,sha256=2QCw4dEs4nhZbB9W4o-Yyub_PsPDZsswLtxv1WmsfnU,520
33
34
  openmc_data/depletion/serpent_fissq.json,sha256=qmXD5cdJJcr4_kNGsSR1jZMGeZRQ1iiBgH1CiH9vMQQ,2383
34
35
  openmc_data/depletion/tendl2019_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
35
36
  openmc_data/depletion/tendl2021_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
36
37
  openmc_data/download/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- openmc_data/download/download_nndc.py,sha256=7-WLUwyARn24MJoB-ZEfXxc6i1qvsMXYd2gBlqG8CGw,2845
38
- openmc_data/download/download_nndc_chain.py,sha256=02dw8bR10VBYkPqoKo_2hZHIeNQe3nFKzR-XwlAdRow,1487
38
+ openmc_data/download/download_endf.py,sha256=Sl1WkGqoAS1SweBWrySp8yR_nLTTJgeyezyOsChepu8,2845
39
+ openmc_data/download/download_endf_chain.py,sha256=uBEu6XSUpS3fZJK0PkkfqY31fq9YjPytVqC_wH9sL2Y,1487
39
40
  openmc_data/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
41
  openmc_data/generate/generate_cendl.py,sha256=naeFyC99lLXutl6y9n4qebgMc-k2gMt9XC9kb_jL1HQ,6223
41
42
  openmc_data/generate/generate_endf.py,sha256=4tm_C6jhJO_pcfQfSswVoFj1xEot8yBqAm4yon7N07U,18185
42
43
  openmc_data/generate/generate_jeff33.py,sha256=nnLHR85jtrmks0O1bZxhOYNbfNRfB94ZLxZ6-pl3gM4,8698
43
- openmc_data/generate/generate_jendl.py,sha256=bPPXQSsQ_rS62YQFygQ9CEMIDvpmKnq0KnpV7RKepxo,4553
44
+ openmc_data/generate/generate_jendl.py,sha256=zEpxZj7-_jzqhgqkmxbbrMrKHcLXbJ_Cxmsc6BK6Q30,4581
44
45
  openmc_data/other/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
46
  openmc_data/other/combine_libraries.py,sha256=HQvR9ppPL_kLoWC478tFLG_hFfug0EmkvW3bN03FYBk,4250
46
47
  openmc_data/other/convert_tendl_rand.py,sha256=F3fq4vQ0kin_FjwAhZm8HP8GzQsk-1gYfWxgKDYN9S0,10619
47
48
  openmc_data/other/make_compton.py,sha256=xsY4fLHWceiRA8tUBVavlZ1TbIDk5HKgikWytEqq6vE,2466
48
49
  openmc_data/other/make_stopping_powers.py,sha256=4Qy9L6VAHm5sMLrDadWX-xS8TSeT-QTiNHDXmZIcT7I,1956
49
- openmc_data/other/sample_sandy.py,sha256=qq8mZvVTzj7n0jBz0vJtxZz8YwlXLN4LOPBBMI7yQCw,6237
50
- openmc_data-0.1.4.dist-info/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
51
- openmc_data-0.1.4.dist-info/METADATA,sha256=c-sn-tCGmE1YuRfMm96e4aJB6TtnvCRcbsRhsiDPjbM,9224
52
- openmc_data-0.1.4.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
53
- openmc_data-0.1.4.dist-info/entry_points.txt,sha256=XA8Ojbc_7vy5KMximLoJ_V9OFs-PbgrL5PXFJ3_FIXI,1543
54
- openmc_data-0.1.4.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
55
- openmc_data-0.1.4.dist-info/RECORD,,
50
+ openmc_data/other/sample_sandy.py,sha256=uwmZk_XZ59VJOLYqp8cOCruW45qTKzlbeuBwXB6Fk1c,6184
51
+ openmc_data-0.2.0.dist-info/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
52
+ openmc_data-0.2.0.dist-info/METADATA,sha256=Emcg9kXFYfWZQ1SPvAdExeAUDhIkMg6UgOCg9vCR_MQ,9160
53
+ openmc_data-0.2.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
54
+ openmc_data-0.2.0.dist-info/entry_points.txt,sha256=71QsQLnG0Ab35WDqC1j1EuflWY_mCGZUrgck4htv3FU,1539
55
+ openmc_data-0.2.0.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
56
+ openmc_data-0.2.0.dist-info/RECORD,,
@@ -1,17 +1,17 @@
1
1
  [console_scripts]
2
2
  add_branching_ratios = openmc_data.depletion.add_branching_ratios:main
3
3
  combine_libraries = openmc_data.other.combine_libraries:main
4
+ convert_endf = openmc_data.convert.convert_endf:main
4
5
  convert_fendl = openmc_data.convert.convert_fendl:main
5
6
  convert_jeff32 = openmc_data.convert.convert_jeff32:main
6
7
  convert_jeff33 = openmc_data.convert.convert_jeff33:main
7
8
  convert_lib80x = openmc_data.convert.convert_lib80x:main
8
9
  convert_mcnp70 = openmc_data.convert.convert_mcnp70:main
9
10
  convert_mcnp71 = openmc_data.convert.convert_mcnp71:main
10
- convert_nndc71 = openmc_data.convert.convert_nndc71: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_nndc = openmc_data.download.download_nndc:main
14
- download_nndc_chain = openmc_data.download.download_nndc_chain:main
13
+ download_endf = openmc_data.download.download_endf:main
14
+ download_endf_chain = openmc_data.download.download_endf_chain:main
15
15
  generate_cendl = openmc_data.generate.generate_cendl:main
16
16
  generate_endf = openmc_data.generate.generate_endf:main
17
17
  generate_endf71_chain_casl = openmc_data.depletion.generate_endf71_chain_casl:main