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

fixed two problems that prevented DL3 generation #103

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

jsitarek
Copy link
Collaborator

@jsitarek jsitarek commented Oct 4, 2022

  1. tel_combo was read as a float but used a index, and required cast to int this is a bit dangerous but it seems to be only used for the metadata
  2. list of telescopes was passed as an array, but instead should be a string

@YoshikiOhtani can you have a look?
the first problem actually would be better to be solved already earlier: saving those combinations as int and not float

1) tel_combo was read as a float but used a index, and required cast to int
this is a bit dangerous but it seems to be only used for the metadata
2) list of telescopes was passed as an array, but instead should be a string
@YoshikiOhtani
Copy link
Collaborator

Hi @jsitarek, thanks for reporting. I looked into this, and pushed one commit to slightly change the solution. Now the combo_type is saved as the int type in a data frame, so combo_types_unique should be originally in the int type and can be used for index. Regarding the second problem, now instrument can be M1_M2, LST1_M1, LST1_M2 or LST1_M1_M2. I will merge it now to the master branch, but please let me know if you still face some problems.

@YoshikiOhtani YoshikiOhtani merged commit 3a7c743 into master Oct 5, 2022
@YoshikiOhtani YoshikiOhtani deleted the fix_dl3_generation branch October 5, 2022 12:57
Elisa-Visentin pushed a commit that referenced this pull request Sep 12, 2024
fixed two problems that prevented DL3 generation
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 this pull request may close these issues.

2 participants