Puffin icon indicating copy to clipboard operation
Puffin copied to clipboard

h5 Radiation Seed File

Open Joseph459459 opened this issue 3 years ago • 1 comments

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 avatar May 25 '22 12:05 Joseph459459

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.

mightylorenzo avatar May 26 '22 19:05 mightylorenzo