Skip to content

Commit

Permalink
Updated spectrum and csv links
Browse files Browse the repository at this point in the history
  • Loading branch information
dmedv committed Jan 28, 2015
1 parent 2c5095d commit 345ec88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions en/tools/quicklook/QuickSummary.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ The function includes specialized formatting to work with those data.
short fiberid = reader.GetInt16(4);


var spectrumlink = "http://dr9.sdss3.org/spectrumDetail?plateid=" + plate + "&mjd=" + mjd + "&fiber=" + fiberid;
var spectrumlink = globals.DasUrlBase + "spectrumDetail?plateid=" + plate + "&mjd=" + mjd + "&fiber=" + fiberid;

Response.Write("<h3><a href='" + spectrumlink + "' target='_blank' class='content'>Interactive spectrum<img src='../../images/new_window_black.png' alt=' (new window)' /></a></h3>");
Response.Write("<p><b>" + reader.GetName(0) + ":</b> " + reader.GetName(0) + "</p>");
Expand All @@ -291,8 +291,7 @@ The function includes specialized formatting to work with those data.



var csvlink = "http://dr9.sdss3.org/dr9-cgi/getSpectra/csv?plateid=" + plate + "&mjd=" + mjd + "&fiber=" + fiberid;

var csvlink = globals.DasUrlBase + "csvSpectrum?plateid=" + plate + "&mjd=" + mjd + "&fiber=" + fiberid + "&reduction2d=v5_7_0";

Response.Write("<a href='" + csvlink + "' target='_blank' class='content'><h3>Get spectrum as CSV</a>");

Expand Down

0 comments on commit 345ec88

Please sign in to comment.