-
Notifications
You must be signed in to change notification settings - Fork 2
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
VOCLASS example is wrong #12
Comments
Recall.. the last update was kept to a limited scope to satisfy a specific request, so many things were left unchanged. The document has 4 places where VOCLASS is mentioned, each of which has a different string!
I agree that the value should be fixed to be useful. I imagine most are just looking for "Spectrum" (case-insensitive) and/or looking at the options TYPE (VOSEGT keyword) "Spectrum". In my opinion, the value in Section 3.7 should be normative. Unfortunately, the language of the document really would indicate that the value is required, but not fixed. If missing, "Spectrum-1.0" should be assumed. Of course, since this is the key which determines what is to follow, I'm not sure you can assume anything if it is missing. In other words, in order to make that assumption, you must already have the knowledge that it is an IVOA compliant FITS Spectrum serialization. I'll add an agenda item for the DM running meetings to discuss adding an Erratum, presumably unifying the strings to the default value 'Spectrum-1.0'. I'm not sure we can change the language regarding 'should' and retain backward compatibility. Mark |
From DM list: http://mail.ivoa.net/pipermail/dm/2025-February/006570.html Markus D. writes: Let's do an erratum. This is clearly an editorial oversight. |
I'd be concerned about the backward compatibility..
|
The VOCLASS FITS keyword is defined to be as
'SPECTRUM 1.00'
SpectrumDM/doc/specfits.tex
Lines 122 to 124 in f485c3e
but in the example it is set to
'Spectrum V1.0'
SpectrumDM/doc/example_fits1.tex
Line 12 in f485c3e
What I don't understand here: why does the definition say "SHOULD" instead of "MUST"? Are there any use cases where it is set differently? Allowing a format indicator to deviate from its definition seems a bit weird to me. How can a IVOA compliant spectrum reader deal with this?
And who is "we" here? Why is the keyword "new" (it was already there in
1.0)?
The text was updated successfully, but these errors were encountered: