-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93371c8
commit 3bf2c26
Showing
2 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<!-- saved from url=(0042)http://waterquality.lcra.org/sitelist.aspx --> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>waterquality.lcra.org</title> | ||
<link href="./waterquality.lcra.org_files/www09_consolidated2.css" rel="stylesheet" type="text/css"> | ||
<link rel="shortcut icon" href="http://waterquality.lcra.org/Images/faviconLCRA.ico" type="image/x-icon"> | ||
<script src="./waterquality.lcra.org_files/www09_top_menu.js" type="text/javascript"></script> | ||
<style type="text/css"></style></head> | ||
|
||
|
||
<body style="height: 100%; background-color:#033968; width:100%"> | ||
|
||
<div align="left"> | ||
<script type="text/javascript" language="javascript">showTopNavBar();</script><div id="MenuBar" class="NoPrint"><div class="NavButtons" id="logo"><a target="_new" href="http://www.lcra.org/"><img src="./waterquality.lcra.org_files/lcralogo.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavAbout" onmouseover="navOn("NavAbout")" onmouseout="navOff("NavAbout")" style="background-image: url(http://waterquality.lcra.org/images/button_gradient.png);"><a href="http://www.lcra.org/about" target="_new"><img src="./waterquality.lcra.org_files/about.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavEnergy" onmouseover="navOn("NavEnergy")" onmouseout="navOff("NavEnergy")" style="background-image: url(http://waterquality.lcra.org/images/button_gradient.png);"><a href="http://www.lcra.org/energy" target="_new"><img src="./waterquality.lcra.org_files/energy.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavWater" onmouseover="navOn("NavWater")" onmouseout="navOff("NavWater")" style="background-image: url(http://waterquality.lcra.org/images/button_gradient.png);"><a href="http://www.lcra.org/water" target="_new"><img src="./waterquality.lcra.org_files/water.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavParks" onmouseover="navOn("NavParks")" onmouseout="navOff("NavParks")"><a href="http://www.lcra.org/parks" target="_new"><img src="./waterquality.lcra.org_files/parks.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavJobs" onmouseover="navOn("NavJobs")" onmouseout="navOff("NavJobs")" style="background-image: url(http://waterquality.lcra.org/images/button_gradient.png);"><a href="http://www.lcra.org/about/employment" target="_new"><img src="./waterquality.lcra.org_files/jobs.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div class="NavButtons" id="NavContactUs" onmouseover="navOn("NavContactUs")" onmouseout="navOff("NavContactUs")"><a href="http://www.lcra.org/about/overview" target="_new"><img src="./waterquality.lcra.org_files/contact_us.png" border="0"></a></div><div id="NavDivider"><img src="./waterquality.lcra.org_files/button_divider.png" border="0"></div><div id="SearchBoxWrapper"><form name="gs" action="http://www.lcra.org/search" method="GET" target="_new"><table height="39px" border="0" align="right"><tbody><tr><td valign="middle"><img src="./waterquality.lcra.org_files/search.png" border="0"></td><td><input type="hidden" name="site" value="dotorg"><input type="hidden" name="client" value="dotorg_new"><input type="hidden" name="proxystylesheet" value="dotorg_new"><input type="hidden" name="output" value="xml_no_dtd"><input type="text" name="q" size="15" class="SearchInputBox"></td><td><input src="./waterquality.lcra.org_files/search_submit.png" name="search" type="image" alt="Click to submit your search"> </td></tr></tbody></table></form></div></div> | ||
</div> | ||
|
||
<form name="form1" method="post" action="./waterquality.lcra.org_files/waterquality.lcra.org.html" id="form1" style="margin: 0px; padding: 0px;"> | ||
<div> | ||
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNjg0NzA5NjQ2ZBgBBQlHcmlkVmlldzEPPCsADAEIAgFkdrUlLeK5FmsdI/Lbf1BTyvSFsC4S2WBBt6DwnxoC3UQ="> | ||
</div> | ||
|
||
<div> | ||
|
||
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="F8CC5443"> | ||
</div> | ||
|
||
<div style="padding:6px;"> | ||
<table style="width: 100%; background-color:Black;" cellpadding="4"> | ||
<tbody><tr> | ||
<td width="50%"> | ||
<span class="HomepageColumnHeadings">Select stream segment for multiple sites or choose an individual site.</span><br><br> | ||
</td> | ||
</tr> | ||
</tbody></table> | ||
|
||
<div> | ||
<table cellspacing="0" cellpadding="3" border="0" id="GridView1" style="font-size:Smaller;width:100%;border-collapse:collapse;"> | ||
<tbody><tr class="header" style="color:White;font-size:Small;font-weight:bold;"> | ||
<th class="header" scope="col">Site ID</th><th class="header" align="left" scope="col">Description</th> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td colspan="2" style="background-color:#033968;font-size:8pt;font-weight:bold;width:100%;"><a class="WhiteLinks" href="http://waterquality.lcra.org/parameter_segments.aspx?qrySegment=1301" target="_blank">Segment 1301 San Bernard River Tidal</a></td> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20460" style="display:inline-block;color:Black;width:150px;">20460</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20460" style="color:Black;">SAN BERNARD RIVER TIDAL AT SH 35 SOUTHWEST OF WEST COLUMBIA</a></td> | ||
</tr><tr style="color:White;background-color:#EBEBEB;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=12146" style="display:inline-block;color:Black;width:150px;">12146</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=12146" style="color:Black;">SAN BERNARD RIVER TIDAL EAST BANK IMMEDIATELY UPSTREAM OF FM 2611</a></td> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td colspan="2" style="background-color:#033968;font-size:8pt;font-weight:bold;width:100%;"><a class="WhiteLinks" href="http://waterquality.lcra.org/parameter_segments.aspx?qrySegment=1302" target="_blank">Segment 1302 San Bernard River Above Tidal</a></td> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20723" style="display:inline-block;color:Black;width:150px;">20723</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20723" style="color:Black;">MOUND CREEK AT BRAZORIA CR 450/JACKSON SETTLEMENT ROAD 1.22 KILOMETERS UPSTREAM OF FM 1301 IN WEST OF WEST COLUMBIA</a></td> | ||
</tr><tr style="color:White;background-color:#EBEBEB;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20722" style="display:inline-block;color:Black;width:150px;">20722</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20722" style="color:Black;">PEACH CREEK AT WHARTON CR 117/CHUDALLA ROAD/ARCHER ROAD 89 METERS SOUTH OF THE INTERSECTION OF WHARTON CR 117/CHUDALLA ROAD/ARCHER ROAD AND WHARTON CR 121/ WHARTON CR 119/DONALDSON ROAD IN EAST OF WHARTON</a></td> | ||
</tr><tr style="color:White;background-color:#EBEBEB;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=12517" style="display:inline-block;color:Black;width:150px;">12517</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=12517" style="color:Black;">TRES PALACIOS CREEK AT FM 456</a></td> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td colspan="2" style="background-color:#033968;font-size:8pt;font-weight:bold;width:100%;"><a class="WhiteLinks" href="http://waterquality.lcra.org/parameter_segments.aspx?qrySegment=2002" target="_blank">Segment 2002 Mission River Above Tidal</a></td> | ||
</tr><tr style="color:White;background-color:Gainsboro;"> | ||
<td align="center"><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20062" style="display:inline-block;color:Black;width:150px;">20062</a></td><td><a href="http://waterquality.lcra.org/parameter.aspx?qrySite=20062" style="color:Black;">SARCO CREEK AT FM 2441 1.30 KM UPSTREAM OF THE ELKINS BRANCH CONFLUENCE</a></td> | ||
</tr> | ||
</tbody></table> | ||
</div> | ||
|
||
</div> | ||
|
||
<div id="DoesNothingButCenter" align="center"> | ||
<div id="OuterWrapper"> | ||
<div id="Footer"> | ||
<a class="WhiteLinks" href="http://www.lcra.org/about/doing_business/index.html" target="_new">Purchasing</a> | <a class="WhiteLinks" href="http://www.lcra.org/about/overview/openrecords.html" target="_new">Open Records</a> | <a class="WhiteLinks" href="http://www.lcra.org/asklcra/" target="_new">Ask LCRA</a> | <a class="WhiteLinks" href="http://www.lcra.org/sitemap.html" target="_new">Sitemap</a> | ||
<br> | ||
© 1996-<script type="text/javascript"> var d = new Date(); document.write(d.getFullYear());</script>2015 Lower Colorado River Authority. All rights reserved. | ||
</div> <!-- end "Footer" div --> | ||
</div> <!-- end "OuterWrapper" div --> | ||
</div> <!-- end "DoesNothingButCenter" div --> | ||
|
||
|
||
|
||
|
||
|
||
</form> | ||
<script src="./waterquality.lcra.org_files/urchin.js" type="text/javascript"> | ||
</script> | ||
<script type="text/javascript"> | ||
_uacct = "UA-1180003-2"; | ||
urchinTracker(); | ||
</script> | ||
|
||
|
||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
|
||
from ulmo.lcra.waterquality import get_stations | ||
import test_util | ||
|
||
def test_get_stations(): | ||
service_info_url = 'http://waterquality.lcra.org/sitelist.aspx' | ||
service_info_file = 'lcra/waterquality/stations.html' | ||
|
||
url_files = { | ||
(service_info_url, ('GET',)): service_info_file, | ||
} | ||
|
||
with test_util.mocked_urls(url_files): | ||
stations = get_stations() | ||
|
||
assert 1==1 | ||
|
||
# check_services = [ | ||
# { | ||
# 'abstract': ' The USGS National Water Information System (NWIS) provides access to millions of sites measuring streamflow, groundwater levels, and water quality. This web service provides methods for retrieving daily values data, such as discharge and water levels, from NWIS. For more information about NWIS, see the NWIS home page at http://waterdata.usgs.gov/nwis', | ||
# 'citation': 'USGS National Water Information System ', | ||
# 'email': 'valentin@sdsc.edu', | ||
# 'max_x': 179.2467, | ||
# 'max_y': 72.701, | ||
# 'min_x': -176.6633, | ||
# 'min_y': -14.3075, | ||
# 'network_name': 'NWISDV', | ||
# 'organization': 'USGS', | ||
# 'organization_website': 'http://www.usgs.gov', | ||
# 'phone': None, | ||
# 'service_description_url': 'http://hiscentral.cuahsi.org/pub_network.aspx?n=1', | ||
# 'service_id': 1, | ||
# 'service_status': None, | ||
# 'service_url': 'http://river.sdsc.edu/wateroneflow/NWIS/DailyValues.asmx?WSDL', | ||
# 'site_count': 31881, | ||
# 'title': 'NWIS Daily Values', | ||
# 'value_count': 311783702, | ||
# 'variable_count': 427 | ||
# }, | ||
# ] | ||
|
||
# assert 90 <= len(services) <= 100 | ||
|