Skip to content

Commit

Permalink
deploy: 5b968ae
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed May 14, 2024
1 parent 446bd4c commit 33c0e73
Show file tree
Hide file tree
Showing 16 changed files with 1,429 additions and 1,689 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 07e5a3cf4dd2e08ac8403d2b2638bb49
config: 0352412374c9b171ccf155afca3acd24
tags: 645f666f9bcd5a90fca523b33c5a78b7
6 changes: 3 additions & 3 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; v2.9.0</title>
<title>Overview: module code &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="../_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="../_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="../_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="../_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
14 changes: 10 additions & 4 deletions _modules/sharrow/dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sharrow.dataset &#8212; v2.9.0</title>
<title>sharrow.dataset &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down Expand Up @@ -339,6 +339,7 @@ <h1>Source code for sharrow.dataset</h1><div class="highlight"><pre>
<span class="kn">import</span> <span class="nn">re</span>
<span class="kn">import</span> <span class="nn">time</span>
<span class="kn">from</span> <span class="nn">collections.abc</span> <span class="kn">import</span> <span class="n">Hashable</span><span class="p">,</span> <span class="n">Iterable</span><span class="p">,</span> <span class="n">Mapping</span><span class="p">,</span> <span class="n">Sequence</span>
<span class="kn">from</span> <span class="nn">pathlib</span> <span class="kn">import</span> <span class="n">Path</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">TYPE_CHECKING</span><span class="p">,</span> <span class="n">Any</span>

<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
Expand Down Expand Up @@ -959,7 +960,7 @@ <h1>Source code for sharrow.dataset</h1><div class="highlight"><pre>
<span class="n">use_file_handles</span> <span class="o">=</span> <span class="p">[]</span>
<span class="n">opened_file_handles</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">filename</span> <span class="ow">in</span> <span class="n">omx</span><span class="p">:</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="p">(</span><span class="nb">str</span><span class="p">,</span> <span class="n">Path</span><span class="p">)):</span>
<span class="kn">import</span> <span class="nn">openmatrix</span>

<span class="n">h</span> <span class="o">=</span> <span class="n">openmatrix</span><span class="o">.</span><span class="n">open_file</span><span class="p">(</span><span class="n">filename</span><span class="p">)</span>
Expand All @@ -986,6 +987,11 @@ <h1>Source code for sharrow.dataset</h1><div class="highlight"><pre>

<span class="k">if</span> <span class="n">time_period_sep</span> <span class="ow">in</span> <span class="n">data_name</span><span class="p">:</span>
<span class="n">data_name_x</span><span class="p">,</span> <span class="n">data_name_t</span> <span class="o">=</span> <span class="n">data_name</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span class="n">time_period_sep</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span>
<span class="k">if</span> <span class="n">data_name_x</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">dataset</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;skipping </span><span class="si">{</span><span class="n">data_name</span><span class="si">}</span><span class="s2"> because </span><span class="si">{</span><span class="n">data_name_x</span><span class="si">}</span><span class="s2"> not in dataset&quot;</span>
<span class="p">)</span>
<span class="k">continue</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">dataset</span><span class="p">[</span><span class="n">data_name_x</span><span class="p">]</span><span class="o">.</span><span class="n">dims</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">3</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;dataset variable </span><span class="si">{</span><span class="n">data_name_x</span><span class="si">}</span><span class="s2"> has &quot;</span>
Expand Down
6 changes: 3 additions & 3 deletions _modules/sharrow/flows.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sharrow.flows &#8212; v2.9.0</title>
<title>sharrow.flows &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions _modules/sharrow/relationships.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sharrow.relationships &#8212; v2.9.0</title>
<title>sharrow.relationships &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="../../_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="../../_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>API Reference &#8212; v2.9.0</title>
<title>API Reference &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; v2.9.0</title>
<title>Index &#8212; v2.9.1</title>



Expand Down Expand Up @@ -151,8 +151,8 @@



<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>sharrow &#8212; v2.9.0</title>
<title>sharrow &#8212; v2.9.1</title>



Expand Down Expand Up @@ -155,8 +155,8 @@



<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Getting Started &#8212; v2.9.0</title>
<title>Getting Started &#8212; v2.9.1</title>



Expand Down Expand Up @@ -152,8 +152,8 @@



<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
6 changes: 3 additions & 3 deletions search.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Search - v2.9.0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Search - v2.9.1</title>



Expand Down Expand Up @@ -153,8 +153,8 @@



<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.0 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.0 - Home"/>`);</script>
<img src="_static/logo.png" class="logo__image only-light" alt="v2.9.1 - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="v2.9.1 - Home"/>`);</script>


</a></div>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit 33c0e73

Please sign in to comment.