POCS
POCS copied to clipboard
Support target tags
When adding a target to the scheduler it would be nice to be able to add a series of comma separated tags that would be populated into the metadata db for searching.
hello, @wtgee is this issue still persist?
Hi @Ayushsunny, thanks for asking and sorry it took me a bit to get back to you.
Yes, this is still an issue and actually one that we were hoping to get done pretty soon. If you want to jump in on this, that would be great.
The basics that need to happen are:
- Modify the
conf_files/fields/simply.yaml
file to support tags in some fashion. A "field" currently has two top-level keys, thefield, and the
observation. The "tags" would most likely be a yaml list on the
observation` key, so something like:
-
field:
name: HD 189733
position: 20h00m43.713s +22d42m39.07s
observation:
priority: 105
exptime: 100
tags:
- exoplanet
- defocus_test
-
The tags need to be parsed when adding adding an observation to the scheduler. This happens in the
panoptes.pocs.scheduler.scheduler.add_observation
method. -
These tags need to be passed into the FITS headers when writing the file. This is part of the camera and happens in the
_setup_observation
and_process_fits
methods.
There are likely some more details and I'll try to look at the process a little closer later if needed, but that should be enough to make a reasonable start if interested.
Cheers! Thanks again for reaching out!
Sorry @wtgee , I am new to open source and I really didn't get anything you've suggested above.