-
Notifications
You must be signed in to change notification settings - Fork 266
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
dump CameraReadout files in ctapipe-dump-instrument #1451
Conversation
needed to generate sample .camreadout.fits.gz files for testing purposes in ctapipe-extra
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these hierarchical descriptions not relevant anymore?
What do you mean by hierarchical description? |
|
Ah, those are from an old version of the data model, so in any case need to change. However, I'm not sure its the best thing to use for the "role" of the file in the provenance. So far we have no rule for how to name roles, but I guess it's better to say why the data was used, not what kind of data it is (e.g. that the file was opened to construct a "CameraGeometry" object). Or we change it to reflect the new data model better, in which case it should be |
@kosack the build failed due to some file not found error |
Ah, yes, the problem is that we do not have an up-to-date optics description in ctapipe-extra. I will update it, then this should work (the current one uses the old telescope naming scheme, and is named differently). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build is still not passing though.
@kosack the test fails because you used |
Also, you should add the |
…nto fix/dump_camreadout
Codecov Report
@@ Coverage Diff @@
## master #1451 +/- ##
==========================================
+ Coverage 90.78% 90.83% +0.05%
==========================================
Files 188 192 +4
Lines 13562 13685 +123
==========================================
+ Hits 12312 12431 +119
- Misses 1250 1254 +4
Continue to review full report at Codecov.
|
After merging, you produce the readout files for the cameras we have in ctapipe extra and add them to ctapipe extra? |
Yes, that's the idea. Then we can release another version of ctapipe-extra (or we add them to the server, and merge #1498 ) |
Or both, for the moment it is probably the easiest to add them to ctapipe-extra so johan can just download the newest version. |
Now that CameraDefinitions need both a camgeom and camreadout file, lets generate them
Needed to generate sample .camreadout.fits.gz files for testing purposes in ctapipe-extra
This PR also removes the unused
table_type, table_name
options fromDumpInstrumentTool._get_file_format_info()