Repository navigation
tendl and fendl download scripts added - #1
Conversation
|
@shimwell When I try to run the FENDL script, I'm getting an exception about certificate verification: Did you not run into this? |
|
Yep I have run the scripts with the different options but I thought the ssl, user agent and headers fixed that error. Not sure what is happening there but it looks like different python 3 behave differently for different ssl installs |
|
The following seems to work for me (without having to set headers): urlopen(url, context=ssl._create_unverified_context()) |
|
Your suggestion worked for me as well :-) |
|
I put in a tiny PR (#1163) for the openmc _utils script so that context can be specified when using the download function |
|
With the change (and the PR to OpenMC), both scripts worked for me so I'll go ahead and merge. If you want to make further changes, feel free to send another PR! |
Standardise arguments in convert/generate scripts

Hi all,
Here is a pull request for some scripts that ease the downloading of FENDL and TENDL nuclear data libraries for your consideration.
The scripts are based on the existing OpenMC scripts for downloading JEFF and NNDC data. These two evaluations are of particular interest for fusion simulations as the ITER reactor requests FENDL data is used and the transmutation we expect in fusion reactors requires a library like TENDL with lots of isotopes when simulating burn-up.
Eventually I would like to add options for different releases, file formats (ENDF or ACE) and further nuclear data libraries such as CENDL and JENDL.