Skip to content

Commit

Permalink
Update local links to public ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Duplyakin committed Feb 10, 2024
1 parent 3e3930f commit dc19ba2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 49 deletions.
2 changes: 1 addition & 1 deletion templates/12x24_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
<td><img id="initial_r2" src="{{url_for('static', filename='turbine.gif')}}"/></td>
</tr>
<tr>
<td id="initial_r3_td"><a id="initial_r3" href="http://localhost:5000/info" target="_blank" rel="noopener noreferrer">
<td id="initial_r3_td"><a id="initial_r3" href="http://dw-tap.nrel.gov:5000/info" target="_blank" rel="noopener noreferrer">
List of TAP API's capabilities</a></td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion templates/bc_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
<td><img id="initial_r2" src="{{url_for('static', filename='turbine.gif')}}"/></td>
</tr>
<tr>
<td id="initial_r3_td"><a id="initial_r3" href="http://localhost:5000/info" target="_blank" rel="noopener noreferrer">
<td id="initial_r3_td"><a id="initial_r3" href="http://dw-tap.nrel.gov:5000/info" target="_blank" rel="noopener noreferrer">
List of TAP API's capabilities</a></td>
</tr>
<tr>
Expand Down
50 changes: 5 additions & 45 deletions templates/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,6 @@
background-color: white; <!--#D64F2A;-->
}

#dynamicContentX table {
border-collapse: collapse;
width: 100%;
color: #333;
font-size: 16px;
text-align: left;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
margin: auto;
margin-top: 50px;
margin-bottom: 50px;
}

#dynamicContentX table th {
background-color: #ff9800;
color: #fff;
font-weight: bold;
padding: 10px;
text-transform: uppercase;
letter-spacing: 1px;
border-top: 1px solid #fff;
border-bottom: 1px solid #ccc;
}

#dynamicContentX table tr:nth-child(even) td {
background-color: #f2f2f2;
}

#dynamicContentX table tr:hover td {
background-color: #ffedcc;
}

#dynamicContentX table td {
background-color: #fff;
padding: 10px;
border-bottom: 1px solid #ccc;
font-weight: bold;
}

#dynamicContent {
font-family: Verdana !important;
}
Expand Down Expand Up @@ -256,27 +216,27 @@ <h3>TAP API provides public access to the following capabilities:</h3>
</tr>
<tr>
<td><strong>Plot with monthly average wind speeds</strong></td>
<td><a href="http://localhost:5000/monthly?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank">http://dw-tap.nrel.gov/monthly?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td><a href="http://dw-tap.nrel.gov:5000/monthly?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank">http://dw-tap.nrel.gov/monthly?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td>Aggregate to monthly averages and show one or several years of model data.</td>
</tr>
<tr>
<td><strong>12x24 (hourly x monthly) summary with average wind speeds</strong></td>
<td><a href="http://localhost:5000/12x24?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank">http://dw-tap.nrel.gov/12x24?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td><a href="http://dw-tap.nrel.gov:5000/12x24?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank">http://dw-tap.nrel.gov/12x24?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td>This summary allows seeing diurnal and seasonal patterns in wind data.</td>
</tr>
<tr>
<td><strong>Wind data for a given address</strong></td>
<td><a href="http://localhost:5000/by_address">http://dw-tap.nrel.gov/by_address</a></td>
<td><a href="http://dw-tap.nrel.gov:5000/by_address">http://dw-tap.nrel.gov/by_address</a></td>
<td width="350px">After providing an address and the desired hub height, you will be able to see wind data for that location and height. You can also choose the output format.</td>
</tr>
<tr>
<td><strong>Raw time series</strong></td>
<td><a href="http://localhost:5000/ts?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank" rel="noopener noreferrer">http://dw-tap.nrel.gov/ts?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td><a href="http://dw-tap.nrel.gov:5000/ts?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank" rel="noopener noreferrer">http://dw-tap.nrel.gov/ts?height=65.00m&lat=39.743&lon=-105.147</a></td>
<td width="350px">Less user-friendly interface that allows external computational tools, dashboards, etc. access TAP's wind data.</td>
</tr>
<tr>
<td><strong>Bias-corrected wind speeds<sup>(NEW)</sup></strong></td>
<td><a href="http://localhost:5000/bc?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank" rel="noopener noreferrer">http://dw-tap.nrel.gov/bc?height=35.00m&lat=41.2&lon=-93.18&year=2011</a></td>
<td><a href="http://dw-tap.nrel.gov:5000/bc?height=65.00m&lat=39.743&lon=-105.147&year=2012" target="_blank" rel="noopener noreferrer">http://dw-tap.nrel.gov/bc?height=35.00m&lat=41.2&lon=-93.18&year=2011</a></td>
<td width="350px">Apply bias correction using observational data and show monthly average wind speeds, with and without bias correction.</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion templates/monthly_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<td><img id="initial_r2" src="{{url_for('static', filename='turbine.gif')}}"/></td>
</tr>
<tr>
<td id="initial_r3_td"><a id="initial_r3" href="http://localhost:5000/info" target="_blank" rel="noopener noreferrer">
<td id="initial_r3_td"><a id="initial_r3" href="http://dw-tap.nrel.gov:5000/info" target="_blank" rel="noopener noreferrer">
List of TAP API's capabilities</a></td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion templates/ts_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
<td><img id="initial_r2" src="{{url_for('static', filename='turbine.gif')}}"/></td>
</tr>
<tr>
<td id="initial_r3_td"><a id="initial_r3" href="http://localhost:5000/info" target="_blank" rel="noopener noreferrer">
<td id="initial_r3_td"><a id="initial_r3" href="http://dw-tap.nrel.gov:5000/info" target="_blank" rel="noopener noreferrer">
List of TAP API's capabilities</a></td>
</tr>
<tr>
Expand Down

0 comments on commit dc19ba2

Please sign in to comment.