Skip to content

Commit f971e42

Browse files
committed
Deploying to gh-pages from @ f10f08b 🚀
1 parent 2a3c6bf commit f971e42

63 files changed

Lines changed: 903 additions & 765 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 0d8bd6933219912fc5c54eea7c0a771f
3+
config: 294e39bf2937eba36bce2b3937a3d2b7
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_modules/dataretrieval/nadp.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.nadp &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.nadp &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/nldi.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.nldi &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.nldi &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/nwis.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.nwis &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.nwis &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/streamstats.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.streamstats &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.streamstats &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/utils.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.utils &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.utils &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/waterdata/api.html

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.waterdata.api &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.waterdata.api &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
@@ -286,11 +286,27 @@ <h1>Source code for dataretrieval.waterdata.api</h1><div class="highlight"><pre>
286286
<span class="sd"> ... time=&quot;2021-01-01T00:00:00Z/2022-01-01T00:00:00Z&quot;,</span>
287287
<span class="sd"> ... )</span>
288288

289+
<span class="sd"> &gt;&gt;&gt; # Quick &quot;show me the last week&quot; idiom (ISO 8601 duration)</span>
290+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_daily(</span>
291+
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;,</span>
292+
<span class="sd"> ... parameter_code=&quot;00060&quot;,</span>
293+
<span class="sd"> ... time=&quot;P7D&quot;,</span>
294+
<span class="sd"> ... )</span>
295+
289296
<span class="sd"> &gt;&gt;&gt; # Get approved daily flow data from multiple sites</span>
290297
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_daily(</span>
291-
<span class="sd"> ... monitoring_location_id = [&quot;USGS-05114000&quot;, &quot;USGS-09423350&quot;],</span>
292-
<span class="sd"> ... approval_status = &quot;Approved&quot;,</span>
293-
<span class="sd"> ... time = &quot;2024-01-01/..&quot;</span>
298+
<span class="sd"> ... monitoring_location_id=[&quot;USGS-05114000&quot;, &quot;USGS-09423350&quot;],</span>
299+
<span class="sd"> ... approval_status=&quot;Approved&quot;,</span>
300+
<span class="sd"> ... time=&quot;2024-01-01/..&quot;,</span>
301+
<span class="sd"> ... )</span>
302+
303+
<span class="sd"> &gt;&gt;&gt; # Pull only rows whose underlying record was refreshed in the</span>
304+
<span class="sd"> &gt;&gt;&gt; # last 7 days — handy for incremental ETL polling</span>
305+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_daily(</span>
306+
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;,</span>
307+
<span class="sd"> ... parameter_code=&quot;00060&quot;,</span>
308+
<span class="sd"> ... last_modified=&quot;P7D&quot;,</span>
309+
<span class="sd"> ... )</span>
294310
<span class="sd"> &quot;&quot;&quot;</span>
295311
<span class="n">service</span> <span class="o">=</span> <span class="s2">&quot;daily&quot;</span>
296312
<span class="n">output_id</span> <span class="o">=</span> <span class="s2">&quot;daily_id&quot;</span>
@@ -1422,6 +1438,22 @@ <h1>Source code for dataretrieval.waterdata.api</h1><div class="highlight"><pre>
14221438
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;, parameter_code=&quot;00060&quot;</span>
14231439
<span class="sd"> ... )</span>
14241440

1441+
<span class="sd"> &gt;&gt;&gt; # Restrict to the last 7 days; sites with no observation in that</span>
1442+
<span class="sd"> &gt;&gt;&gt; # window are dropped instead of returned with stale values</span>
1443+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_continuous(</span>
1444+
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;,</span>
1445+
<span class="sd"> ... parameter_code=&quot;00060&quot;,</span>
1446+
<span class="sd"> ... time=&quot;P7D&quot;,</span>
1447+
<span class="sd"> ... )</span>
1448+
1449+
<span class="sd"> &gt;&gt;&gt; # Pull only rows whose underlying record was refreshed in the</span>
1450+
<span class="sd"> &gt;&gt;&gt; # last 7 days, across multiple sites and parameters</span>
1451+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_continuous(</span>
1452+
<span class="sd"> ... monitoring_location_id=[&quot;USGS-451605097071701&quot;, &quot;USGS-14181500&quot;],</span>
1453+
<span class="sd"> ... parameter_code=[&quot;00060&quot;, &quot;72019&quot;],</span>
1454+
<span class="sd"> ... last_modified=&quot;P7D&quot;,</span>
1455+
<span class="sd"> ... )</span>
1456+
14251457
<span class="sd"> &gt;&gt;&gt; # Get latest continuous measurements for multiple sites</span>
14261458
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_continuous(</span>
14271459
<span class="sd"> ... monitoring_location_id=[&quot;USGS-05114000&quot;, &quot;USGS-09423350&quot;]</span>
@@ -1606,6 +1638,21 @@ <h1>Source code for dataretrieval.waterdata.api</h1><div class="highlight"><pre>
16061638
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;, parameter_code=&quot;00060&quot;</span>
16071639
<span class="sd"> ... )</span>
16081640

1641+
<span class="sd"> &gt;&gt;&gt; # Restrict to rows whose underlying record was refreshed in the</span>
1642+
<span class="sd"> &gt;&gt;&gt; # last 7 days</span>
1643+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_daily(</span>
1644+
<span class="sd"> ... monitoring_location_id=&quot;USGS-02238500&quot;,</span>
1645+
<span class="sd"> ... parameter_code=&quot;00060&quot;,</span>
1646+
<span class="sd"> ... last_modified=&quot;P7D&quot;,</span>
1647+
<span class="sd"> ... )</span>
1648+
1649+
<span class="sd"> &gt;&gt;&gt; # Multi-site, multi-parameter — discharge and water temperature</span>
1650+
<span class="sd"> &gt;&gt;&gt; # at two sites in a single round-trip</span>
1651+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_daily(</span>
1652+
<span class="sd"> ... monitoring_location_id=[&quot;USGS-01491000&quot;, &quot;USGS-01645000&quot;],</span>
1653+
<span class="sd"> ... parameter_code=[&quot;00060&quot;, &quot;00010&quot;],</span>
1654+
<span class="sd"> ... )</span>
1655+
16091656
<span class="sd"> &gt;&gt;&gt; # Get most recent daily measurements for two sites</span>
16101657
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_latest_daily(</span>
16111658
<span class="sd"> ... monitoring_location_id=[&quot;USGS-05114000&quot;, &quot;USGS-09423350&quot;]</span>
@@ -1785,13 +1832,23 @@ <h1>Source code for dataretrieval.waterdata.api</h1><div class="highlight"><pre>
17851832
<span class="sd"> ... skip_geometry=True,</span>
17861833
<span class="sd"> ... )</span>
17871834

1835+
<span class="sd"> &gt;&gt;&gt; # Half-bounded time range: every measurement at this site since</span>
1836+
<span class="sd"> &gt;&gt;&gt; # 1980 (open-ended end). Use ``&quot;../&lt;date&gt;&quot;`` for the inverse</span>
1837+
<span class="sd"> &gt;&gt;&gt; # (everything up to a date).</span>
1838+
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_field_measurements(</span>
1839+
<span class="sd"> ... monitoring_location_id=&quot;USGS-425957088141001&quot;,</span>
1840+
<span class="sd"> ... time=&quot;1980-01-01/..&quot;,</span>
1841+
<span class="sd"> ... )</span>
1842+
17881843
<span class="sd"> &gt;&gt;&gt; # Get field measurements from multiple sites and</span>
17891844
<span class="sd"> &gt;&gt;&gt; # parameter codes from the last 20 years</span>
17901845
<span class="sd"> &gt;&gt;&gt; df, md = dataretrieval.waterdata.get_field_measurements(</span>
1791-
<span class="sd"> ... monitoring_location_id = [&quot;USGS-451605097071701&quot;,</span>
1792-
<span class="sd"> &quot;USGS-263819081585801&quot;],</span>
1793-
<span class="sd"> ... parameter_code = [&quot;62611&quot;, &quot;72019&quot;],</span>
1794-
<span class="sd"> ... time = &quot;P20Y&quot;</span>
1846+
<span class="sd"> ... monitoring_location_id=[</span>
1847+
<span class="sd"> ... &quot;USGS-451605097071701&quot;,</span>
1848+
<span class="sd"> ... &quot;USGS-263819081585801&quot;,</span>
1849+
<span class="sd"> ... ],</span>
1850+
<span class="sd"> ... parameter_code=[&quot;62611&quot;, &quot;72019&quot;],</span>
1851+
<span class="sd"> ... time=&quot;P20Y&quot;,</span>
17951852
<span class="sd"> ... )</span>
17961853
<span class="sd"> &quot;&quot;&quot;</span>
17971854
<span class="n">service</span> <span class="o">=</span> <span class="s2">&quot;field-measurements&quot;</span>

_modules/dataretrieval/waterdata/nearest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.waterdata.nearest &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.waterdata.nearest &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/dataretrieval/wqp.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>dataretrieval.wqp &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>dataretrieval.wqp &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Overview: module code &mdash; dataretrieval 0.1.dev1+g63b586e0e documentation</title>
8+
<title>Overview: module code &mdash; dataretrieval 0.1.dev1+gf10f08b77 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=9edc463e" />
1111

1212

1313
<script src="../_static/jquery.js?v=5d32c60e"></script>
1414
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15-
<script src="../_static/documentation_options.js?v=39133080"></script>
15+
<script src="../_static/documentation_options.js?v=27b0860f"></script>
1616
<script src="../_static/doctools.js?v=fd6eb6e6"></script>
1717
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
1818
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>

0 commit comments

Comments
 (0)