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

Fake ERRORs in DL2 to DL3 step #1225

Closed
moralejo opened this issue Feb 10, 2024 · 3 comments · Fixed by #1227
Closed

Fake ERRORs in DL2 to DL3 step #1225

moralejo opened this issue Feb 10, 2024 · 3 comments · Fixed by #1227
Assignees

Comments

@moralejo
Copy link
Collaborator

When running the DL2 to DL3 step for a source-independent analysis, one gets this error if IRF interpolation is used:

2024-02-10 13:32:49,219 ERROR [lstchain.high_level.interpolate] (interpolate.interpolate_irf): AL CUTS not present for IRF interpolation
Obviously, Alpha cuts do not exist for this type of analysis, and the DL3 file is nevertheless produced (as it should).
If one uses explicitly the option
--source-dep False

it is even worse... it throws the same error plus this one:
2024-02-10 13:28:32,031 ERROR [lstchain.DataReductionFITSWriter] (tool.run): Caught unexpected exception: File does not contain source-dependent parameters

The more you tell it you are doing a source-independent analysis, the more it wants to do it!

@SeiyaNozaki
Copy link
Collaborator

Yes... this is a fake error as reported also in #1180 and vice versa... (The script raises an error saying RAD_MAX is not present for IRF creation when using source-dependent analysis). Need to be fixed.

@moralejo
Copy link
Collaborator Author

Ok, I see. The same happens with the creation of the index files. It complains, for a point-like DL3 set, that the background and psf HDUs are missing...

2024-02-10 16:51:54,442 ERROR [lstchain.high_level.hdu_table] (hdu_table.create_hdu_index_hdu): Run 10946 does not contain HDU BACKGROUND
2024-02-10 16:51:54,442 ERROR [lstchain.high_level.hdu_table] (hdu_table.create_hdu_index_hdu): Run 10946 does not contain HDU PSF

@SeiyaNozaki
Copy link
Collaborator

Yes... I'm on it to solve this fake error

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

Successfully merging a pull request may close this issue.

2 participants