We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible that the following header keys are missing in read_corsika_headers.py?
irf/irf/scripts/read_corsika_headers.py
Lines 33 to 39 in bc36aed
I saw in pyfact that they are needed:
https://github.com/fact-project/pyfact/blob/91273b419e296e1d94e5b85f1d257872c5d5ac1b/fact/io.py#L484
The text was updated successfully, but these errors were encountered:
Ah yes, I did not add them in the read_corsika_headers script, only created the new eventio script
Sorry, something went wrong.
But: x_scatter is note saved into the old headers. So you need to add it manually using h5py.
with h5py.File(file, mode='r+') as f: f['corsika_headers'].attrs['scatter_radius'] = 270 f['corsika_headers'].attrs['scatter_radius_unit'] = 'm'
I see. THX
Also in the fact io function, it looks for either n_showers or n_events, the meaning is the same.
n_showers
n_events
No branches or pull requests
Is it possible that the following header keys are missing in read_corsika_headers.py?
irf/irf/scripts/read_corsika_headers.py
Lines 33 to 39 in bc36aed
I saw in pyfact that they are needed:
https://github.com/fact-project/pyfact/blob/91273b419e296e1d94e5b85f1d257872c5d5ac1b/fact/io.py#L484
The text was updated successfully, but these errors were encountered: