open-gamma-ray-astro / gamma-astro-data-formats

Data formats for gamma-ray astronomy
https://gamma-astro-data-formats.readthedocs.io
Creative Commons Attribution 4.0 International
29 stars 27 forks source link

Update observation index table spec #126

Closed cdeil closed 5 years ago

cdeil commented 5 years ago

This PR changes the observation index spec, moving some columns from required to optional.

Now only OBS_ID, pointing position and start / stop time are required. That's what's used 90% or more of the time do to obs selection.

All of the other keys are sometimes used, but which ones depends, and having them all as required causes problems, because then to have a valid file people often have to make up information that doesn't exist. E.g. object is not available for scan observations. E.g. TELLIST is information I didn't have when making the CTA DC1 index tables.

This is now in line with other parts of the spec (e.g. the EVENTS), where also only things that are really required to be functionatl are listed in the required section.