Commit 275f199f authored by Tom Dwelly's avatar Tom Dwelly
Browse files

fix sign bug in GEDR3 links

parent 84788cdc
......@@ -1276,7 +1276,7 @@ function writePipeInfo(){
// var str3 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=ls-dr8&mark=%g,%g' target='_blank' title='View optical imaging for this object on the legacysurvey.org site'>ls-dr8</a>", ra, dec, ra, dec);
var str3 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=ls-dr9&mark=%g,%g' target='_blank' title='View optical imaging for this object on the legacysurvey.org site'>ls-dr9</a>", ra, dec, ra, dec);
var str4 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=unwise-neo6&mark=%g,%g' target='_blank' title='View unWISE imaging for this object on the legacysurvey.org site'>unWISE</a>", ra, dec, ra, dec);
var str5 = sprintf("<a href='http://vizier.u-strasbg.fr/viz-bin/VizieR-5?-ref=VIZ60fed5911f70ac&-out.add=.&-source=I/350/gaiaedr3&-c=%g%20%g,eq=ICRS,rs=2&-out.orig=o' target='_blank' title='Search for nearest Gaia EDR3 catalogue entry to this location'>GaiaEDR3</a>", ra, dec);
var str5 = sprintf("<a href='http://vizier.u-strasbg.fr/viz-bin/VizieR-5?-ref=VIZ60fed5911f70ac&-out.add=.&-source=I/350/gaiaedr3&-c=%.8g%20%s%.8g,eq=ICRS,rs=3&-out.orig=o' target='_blank' title='Search for nearest Gaia EDR3 catalogue entry to this location (within 3arcsec)'>GaiaEDR3</a>", ra, (dec<0.0?"":"+"),dec);
str = str1.concat(" ",str2," ",str3," ",str4, " ", str5);
}
document.getElementById("pipeParams_links").innerHTML = str;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment