Commit 486b1132 authored by Tom Dwelly's avatar Tom Dwelly
Browse files

update bitmask decoder location

parent 0e4e1d20
......@@ -35,8 +35,8 @@ ctx.canvas.height = window.innerHeight * 0.6;
var specfile = "";
//var submit_button = 0;
var submit_button = 1;
//var submit_php = 'http://www.mpe.mpg.de/~tdwelly/SPIDERS/speccy_results/receive_speccy_submissions.php';
var submit_php = 'http://erosita-bhm.mpe.mpg.de/efeds_vi/receive_vi.php';
//var submit_php = 'http://erosita-bhm.mpe.mpg.de/efeds_vi/receive_vi.php';
var submit_php = '../efeds_vi/receive_vi.php';
var lambdaArray = [];
var fluxArray = [];
var fluxerrArray= [];
......@@ -1147,11 +1147,11 @@ function writePipeInfo(){
case "SUBCLASS": document.getElementById("pipeParams_SUBCLASS" ).innerHTML = keyvals[i]; break;
case "SN_MEDIAN_ALL": document.getElementById("pipeParams_SN_MEDIAN_ALL").innerHTML = precise(keyvals[i],4); break;
case "ZWARNING":
var str = sprintf("<a href='http://www.mpe.mpg.de/~tdwelly/SPIDERS/bitmask_decoder.html?ZWARNING=%s' target=_blank title='decode the ZWARNING flag'>%s</a>",
var str = sprintf("<a href='../bitmask_decoder/sdss_bitmask_decoder.html?ZWARNING=%s' target=_blank title='decode the ZWARNING flag'>%s</a>",
keyvals[i],keyvals[i]);
document.getElementById("pipeParams_ZWARNING" ).innerHTML = str; break;
case "EBOSS_TARGET1":
var str = sprintf("<a href='http://www.mpe.mpg.de/~tdwelly/SPIDERS/bitmask_decoder.html?EBOSS_TARGET1=%s' target=_blank title='decode the EBOSS_TARGET1 flag'>%s</a>",
var str = sprintf("<a href='../bitmask_decoder/sdss_bitmask_decoder.html?EBOSS_TARGET1=%s' target=_blank title='decode the EBOSS_TARGET1 flag'>%s</a>",
keyvals[i],keyvals[i]);
document.getElementById("pipeParams_EBOSS_TARGET1" ).innerHTML = str; break;
}
......@@ -1162,8 +1162,8 @@ function writePipeInfo(){
var str1 = sprintf("<a href='http://skyserver.sdss.org/dr16/en/tools/explore/summary.aspx?ra=%g&dec=%g' target='_blank' title='View imaging for this object in the SDSS Explore service'>Explore</a>", ra, dec);
// var str2 = sprintf("<a href='http://irsa.ipac.caltech.edu/applications/finderchart/#id=Hydra_finderchart_finder_chart&RequestClass=ServerRequest&DoSearch=true&subsize=0.0166667&thumbnail_size=medium&sources=DSS,SDSS,twomass,WISE&UserTargetWorldPt=%s;%s;EQ_J2000&SimpleTargetPanel.field.resolvedBy=nedthensimbad&projectId=finderchart&searchName=finder_chart&isDrillDownRoot=true&isSearchResult=true' target='_blank' title='View imaging for this object in the IRSA Hydra finder chart service'>IRSA</a>", ra, dec);
var str2 = sprintf("<a href='http://simbad.u-strasbg.fr/simbad/sim-coo?output.format=HTML&Coord=%s+%s&Radius=10&Radius.unit=arcsec' target='_blank' title='Search around this position in the Simbad service'>Simbad</a>", ra, dec);
var str3 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=dr8&mark=%g,%g' target='_blank' title='View imaging for this object on the legacysurvey.org site'>ls-dr8</a>", ra, dec, ra, dec);
var str4 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=unwise-neo4&mark=%g,%g' target='_blank' title='View imaging for this object on the legacysurvey.org site'>unWISE</a>", ra, dec, ra, dec);
var str3 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=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 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);
str = str1.concat(" ",str2," ",str3," ",str4);
}
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