Skip to content
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

Remove NaN from POS description #6

Open
gpdf opened this issue May 21, 2024 · 0 comments
Open

Remove NaN from POS description #6

gpdf opened this issue May 21, 2024 · 0 comments

Comments

@gpdf
Copy link

gpdf commented May 21, 2024

SIAv2 contains the following throwaway reference implying that a NaN might be acceptable in a POS query parameter:

Valid coordinate values are in [0,360] for longitude and [-90,90] for latitude (or NaN).

@timj pointed this out in the course of implementing an SIAv2 interface associated with the Rubin Observatory "Data Butler".

There is no other reference to NaN in the standard, and it's in conflict with language a few sentences above that suggests the use of infinities as special values (language which has already been suppressed by SIAv2 Erratum 1).

It seems to very likely be an editing oversight, a vestige of the 20150730 PR of SIAv2, in which NaN was used in RANGE where the final standard uses infinities.

Can we a) remove this vestige from DAP and b) issue an erratum on SIAv2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant