Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5 Radiation Seed File #86

Open
Joseph459459 opened this issue May 25, 2022 · 1 comment
Open

h5 Radiation Seed File #86

Joseph459459 opened this issue May 25, 2022 · 1 comment

Comments

@Joseph459459
Copy link

Hello!

I was peeking through the documentation and source code and am wondering if there is an example using the dtype = 'h5' raw input for the radiation seed file.

Could you supply a bare-bones h5 template and tips for using this? Is this method not recommended for performance/memory reasons?

@Joseph459459 Joseph459459 changed the title h5 Radiation Seed File Documentation h5 Radiation Seed File May 25, 2022
@mightylorenzo
Copy link
Collaborator

Hi - the format is, IIRC, identical to the output radiation file format. It's not very well documented though! It's not really for performance reasons, it's more around the complexity of having to ensure the grid is setup correctly, the process is quite raw. You are giving puffin a radiation grid and values at all the nodes, and if the sampling is incorrect then the sim will be invalid... I'm not sure we used this ourselves for anything significant, I will need to check, but I am unfortunately not able to get to a computer easily right now as I'm on vacation. However, if you are able to open up and understand the radiation output file then you may be able to construct your own input file. I'll have a proper look when I get back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants