IHDE-Alliance / solarnet_metadata

SOLARNET metadata for solar observations
Creative Commons Zero v1.0 Universal
4 stars 2 forks source link

Adding New Keywords to enable Conditional Requirements. #8

Open Alrobbertz opened 3 months ago

Alrobbertz commented 3 months ago

There are some keywords which are required for all FITS files. However, there are are also some keywords which are conditionally required based on the file contents and the instrument being used.

For example, depending on the type of the observatory, different keywords are used to accurately detail the location of the observatory at the time the measurements in the FITS file were taken.

Similarly, depending on the king of instrument, different keywords are required to describe the instrument mode and configuration used for taking the measurements.

From reading the recommendations, it seems like there are not any keywords that can be used to determine which if any of these conditional requirement should be applied.

To enable these conditional attribute requirements for the SOLARNET metadata standards, I'd like to introduce two new keywords:

steinhh commented 3 months ago

Hmm.... good point(s).

I was going to argue that they have little practical use, but then I realized that they are important from a validator's point of view...

BTW the HGLN/-LT/DSUN_OBS keywords should never trigger a complaint - a calculation of what has been observed will always go through those coordinates (or equivalents), so having them there never hurts. The OBSGEO vs GEOX keywords should of course be mutually exclusive, though.

For INSTRTYP, there are quite a few flavors that should be included: imagers, spectrographs, scanning (or rastering) spectrographs, then polarimeters, then spectropolarimeters, scanning spectropolarimeters. And the new-fangled optical fiber-based multi-point variants (which would require tabulated spatial coordinates btw).