lauraferrarese / NGVS-map-tool

Prototype of graphical search and data retrieval tool for the NGVS
0 stars 0 forks source link

RA selection on catalogues not working #17

Open lauraferrarese opened 4 years ago

lauraferrarese commented 4 years ago

Maybe this is related to issue #1, but selecting an RA range does not seem to work. Example: selecting "11..13" under "DEC" does what you would expect. However, selecting "12..13" under "RA" produces no results. This seems to be true for all catalogues.

lluttrell commented 4 years ago

I have fixed the tool for RA in decimal format. (the catalogs have values above 180 as negative numbers, so it needed a fix if you want to measure decimal RA from 0 to 360). Does the tool also need support for RA in HMS format? Putting 12..13 wont show anything because it's on the other side of the sky in decimal format.

lauraferrarese commented 4 years ago

Ah, yes, I get it. Yes, it would be great to have the RA work in both formats because, unfortunately, both are very widely used. If in HMS format, the syntax should be (e.g.) 12:30:55..13:13:32, i.e. H:M:S separated by ":", which distinguishes it form the decimal format. That is true of DEC as well. However: this is not high priority (if we don't get to it, we can always add a note in the "?" that says that RA and DEC need to be in decimal format, and people can do the conversion!