Skip to content

Commit 78782dd

Browse files
committed
Deploying to gh-pages from @ 51ac674 🚀
1 parent 3e3c1e8 commit 78782dd

66 files changed

Lines changed: 1154 additions & 1142 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: e2589b7058c38b1f391db1b00f68ad7d
3+
config: 99a5e3e68b80de52885a632d73554763
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
1.88 KB
Loading
-434 Bytes
Loading
-426 Bytes
Loading

_modules/dataretrieval/nadp.html

Lines changed: 20 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+g8cbff617e documentation</title>
8+
<title>dataretrieval.nadp &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../_static/documentation_options.js?v=11a62b05"></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>
@@ -107,10 +107,22 @@ <h1>Source code for dataretrieval.nadp</h1><div class="highlight"><pre>
107107

108108
<span class="kn">import</span><span class="w"> </span><span class="nn">io</span>
109109
<span class="kn">import</span><span class="w"> </span><span class="nn">re</span>
110+
<span class="kn">import</span><span class="w"> </span><span class="nn">warnings</span>
110111
<span class="kn">import</span><span class="w"> </span><span class="nn">zipfile</span>
111112

112113
<span class="kn">import</span><span class="w"> </span><span class="nn">requests</span>
113114

115+
<span class="n">_DEPRECATION_MESSAGE</span> <span class="o">=</span> <span class="p">(</span>
116+
<span class="s2">&quot;The `nadp` module is deprecated and will be removed from `dataretrieval` &quot;</span>
117+
<span class="s2">&quot;on or after 2026-11-01. NADP is not a USGS data source; please retrieve &quot;</span>
118+
<span class="s2">&quot;NADP data directly from https://nadp.slh.wisc.edu/.&quot;</span>
119+
<span class="p">)</span>
120+
121+
122+
<span class="k">def</span><span class="w"> </span><span class="nf">_warn_deprecated</span><span class="p">():</span>
123+
<span class="n">warnings</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span><span class="n">_DEPRECATION_MESSAGE</span><span class="p">,</span> <span class="ne">DeprecationWarning</span><span class="p">,</span> <span class="n">stacklevel</span><span class="o">=</span><span class="mi">3</span><span class="p">)</span>
124+
125+
114126
<span class="n">NADP_URL</span> <span class="o">=</span> <span class="s2">&quot;https://nadp.slh.wisc.edu&quot;</span>
115127
<span class="n">NADP_MAP_EXT</span> <span class="o">=</span> <span class="s2">&quot;filelib/maps&quot;</span>
116128

@@ -194,6 +206,8 @@ <h1>Source code for dataretrieval.nadp</h1><div class="highlight"><pre>
194206
<span class="sd"> ... )</span>
195207

196208
<span class="sd"> &quot;&quot;&quot;</span>
209+
<span class="n">_warn_deprecated</span><span class="p">()</span>
210+
197211
<span class="n">url</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">NADP_URL</span><span class="si">}</span><span class="s2">/</span><span class="si">{</span><span class="n">NADP_MAP_EXT</span><span class="si">}</span><span class="s2">/MDN/grids/&quot;</span>
198212

199213
<span class="n">filename</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;Hg_</span><span class="si">{</span><span class="n">measurement_type</span><span class="si">}</span><span class="s2">_</span><span class="si">{</span><span class="n">year</span><span class="si">}</span><span class="s2">.zip&quot;</span>
@@ -250,6 +264,8 @@ <h1>Source code for dataretrieval.nadp</h1><div class="highlight"><pre>
250264
<span class="sd"> ... )</span>
251265

252266
<span class="sd"> &quot;&quot;&quot;</span>
267+
<span class="n">_warn_deprecated</span><span class="p">()</span>
268+
253269
<span class="n">url</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">NADP_URL</span><span class="si">}</span><span class="s2">/</span><span class="si">{</span><span class="n">NADP_MAP_EXT</span><span class="si">}</span><span class="s2">/NTN/grids/</span><span class="si">{</span><span class="n">year</span><span class="si">}</span><span class="s2">/&quot;</span>
254270

255271
<span class="n">filename</span> <span class="o">=</span> <span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">measurement_type</span><span class="si">}</span><span class="s2">_</span><span class="si">{</span><span class="n">year</span><span class="si">}</span><span class="s2">.zip&quot;</span>
@@ -288,6 +304,8 @@ <h1>Source code for dataretrieval.nadp</h1><div class="highlight"><pre>
288304
<span class="sd"> finish docstring</span>
289305

290306
<span class="sd"> &quot;&quot;&quot;</span>
307+
<span class="n">_warn_deprecated</span><span class="p">()</span>
308+
291309
<span class="n">req</span> <span class="o">=</span> <span class="n">requests</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">url</span> <span class="o">+</span> <span class="n">filename</span><span class="p">)</span>
292310
<span class="n">req</span><span class="o">.</span><span class="n">raise_for_status</span><span class="p">()</span>
293311

_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+g8cbff617e documentation</title>
8+
<title>dataretrieval.nldi &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../_static/documentation_options.js?v=11a62b05"></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+g8cbff617e documentation</title>
8+
<title>dataretrieval.nwis &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../_static/documentation_options.js?v=11a62b05"></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+g8cbff617e documentation</title>
8+
<title>dataretrieval.streamstats &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../_static/documentation_options.js?v=11a62b05"></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+g8cbff617e documentation</title>
8+
<title>dataretrieval.utils &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../_static/documentation_options.js?v=11a62b05"></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: 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.api &mdash; dataretrieval 0.1.dev1+g8cbff617e documentation</title>
8+
<title>dataretrieval.waterdata.api &mdash; dataretrieval 0.1.dev1+g51ac674de 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=584d99c5"></script>
15+
<script src="../../../_static/documentation_options.js?v=11a62b05"></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)