Skip to content

Commit

Permalink
release version 0.0.7; rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Jul 19, 2019
1 parent 0e368c7 commit 9d95c02
Show file tree
Hide file tree
Showing 28 changed files with 109 additions and 84 deletions.
2 changes: 1 addition & 1 deletion docs/html/.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: 274940d41721741b0f92332de8eb2cbd
config: 1ac7b5a385d645c9490d10c67659016a
tags: 645f666f9bcd5a90fca523b33c5a78b7
6 changes: 3 additions & 3 deletions docs/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Overview: module code &#8212; rioxarray 0.0.6 documentation</title>
<title>Overview: module code &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
Expand All @@ -26,7 +26,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -71,7 +71,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
6 changes: 3 additions & 3 deletions docs/html/_modules/rioxarray/crs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>rioxarray.crs &#8212; rioxarray 0.0.6 documentation</title>
<title>rioxarray.crs &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="../../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand All @@ -26,7 +26,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Module code</a> &#187;</li>
</ul>
</div>
Expand Down Expand Up @@ -94,7 +94,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> &#187;</li>
</ul>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/html/_modules/rioxarray/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>rioxarray.exceptions &#8212; rioxarray 0.0.6 documentation</title>
<title>rioxarray.exceptions &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="../../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand All @@ -26,7 +26,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Module code</a> &#187;</li>
</ul>
</div>
Expand Down Expand Up @@ -105,7 +105,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> &#187;</li>
</ul>
</div>
Expand Down
22 changes: 15 additions & 7 deletions docs/html/_modules/rioxarray/rioxarray.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>rioxarray.rioxarray &#8212; rioxarray 0.0.6 documentation</title>
<title>rioxarray.rioxarray &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="../../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand All @@ -26,7 +26,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Module code</a> &#187;</li>
</ul>
</div>
Expand Down Expand Up @@ -861,7 +861,7 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>

<span class="k">return</span> <span class="n">cl_array</span></div>

<div class="viewcode-block" id="RasterArray.clip"><a class="viewcode-back" href="../../rioxarray.html#rioxarray.rioxarray.RasterArray.clip">[docs]</a> <span class="k">def</span> <span class="nf">clip</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="kc">True</span><span class="p">):</span>
<div class="viewcode-block" id="RasterArray.clip"><a class="viewcode-back" href="../../rioxarray.html#rioxarray.rioxarray.RasterArray.clip">[docs]</a> <span class="k">def</span> <span class="nf">clip</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">invert</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Crops a :class:`xarray.DataArray` by geojson like geometry dicts.</span>

Expand All @@ -881,6 +881,10 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>
<span class="sd"> If True, drop the data outside of the extent of the mask geoemtries</span>
<span class="sd"> Otherwise, it will return the same raster with the data masked.</span>
<span class="sd"> Default is True.</span>
<span class="sd"> invert: boolean, optional</span>
<span class="sd"> If False, pixels that do not overlap shapes will be set as nodata.</span>
<span class="sd"> Otherwise, pixels that overlap the shapes will be set as nodata.</span>
<span class="sd"> False by default.</span>

<span class="sd"> Returns</span>
<span class="sd"> -------</span>
Expand Down Expand Up @@ -909,7 +913,7 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>
<span class="n">geometries</span><span class="o">=</span><span class="n">geometries</span><span class="p">,</span>
<span class="n">out_shape</span><span class="o">=</span><span class="p">(</span><span class="nb">int</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">height</span><span class="p">),</span> <span class="nb">int</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">width</span><span class="p">)),</span>
<span class="n">transform</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">transform</span><span class="p">(),</span>
<span class="n">invert</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">invert</span><span class="o">=</span><span class="ow">not</span> <span class="n">invert</span><span class="p">,</span>
<span class="n">all_touched</span><span class="o">=</span><span class="n">all_touched</span><span class="p">,</span>
<span class="p">)</span>
<span class="n">clip_mask_xray</span> <span class="o">=</span> <span class="n">xarray</span><span class="o">.</span><span class="n">DataArray</span><span class="p">(</span>
Expand Down Expand Up @@ -1234,7 +1238,7 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>
<span class="n">clipped_dataset</span><span class="o">.</span><span class="n">attrs</span><span class="p">[</span><span class="s2">&quot;creation_date&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="nb">str</span><span class="p">(</span><span class="n">datetime</span><span class="o">.</span><span class="n">utcnow</span><span class="p">())</span>
<span class="k">return</span> <span class="n">clipped_dataset</span></div>

<div class="viewcode-block" id="RasterDataset.clip"><a class="viewcode-back" href="../../rioxarray.html#rioxarray.rioxarray.RasterDataset.clip">[docs]</a> <span class="k">def</span> <span class="nf">clip</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="kc">True</span><span class="p">):</span>
<div class="viewcode-block" id="RasterDataset.clip"><a class="viewcode-back" href="../../rioxarray.html#rioxarray.rioxarray.RasterDataset.clip">[docs]</a> <span class="k">def</span> <span class="nf">clip</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">invert</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Crops a :class:`xarray.Dataset` by geojson like geometry dicts.</span>

Expand All @@ -1257,6 +1261,10 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>
<span class="sd"> If True, drop the data outside of the extent of the mask geoemtries</span>
<span class="sd"> Otherwise, it will return the same raster with the data masked.</span>
<span class="sd"> Default is True.</span>
<span class="sd"> invert: boolean, optional</span>
<span class="sd"> If False, pixels that do not overlap shapes will be set as nodata.</span>
<span class="sd"> Otherwise, pixels that overlap the shapes will be set as nodata.</span>
<span class="sd"> False by default.</span>

<span class="sd"> Returns</span>
<span class="sd"> -------</span>
Expand All @@ -1279,7 +1287,7 @@ <h1>Source code for rioxarray.rioxarray</h1><div class="highlight"><pre>
<span class="n">clipped_dataset</span> <span class="o">=</span> <span class="n">xarray</span><span class="o">.</span><span class="n">Dataset</span><span class="p">(</span><span class="n">attrs</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">_obj</span><span class="o">.</span><span class="n">attrs</span><span class="p">)</span>
<span class="k">for</span> <span class="n">var</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">vars</span><span class="p">:</span>
<span class="n">clipped_dataset</span><span class="p">[</span><span class="n">var</span><span class="p">]</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_obj</span><span class="p">[</span><span class="n">var</span><span class="p">]</span><span class="o">.</span><span class="n">rio</span><span class="o">.</span><span class="n">clip</span><span class="p">(</span>
<span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="o">=</span><span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="n">all_touched</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="n">drop</span>
<span class="n">geometries</span><span class="p">,</span> <span class="n">crs</span><span class="o">=</span><span class="n">crs</span><span class="p">,</span> <span class="n">all_touched</span><span class="o">=</span><span class="n">all_touched</span><span class="p">,</span> <span class="n">drop</span><span class="o">=</span><span class="n">drop</span><span class="p">,</span> <span class="n">invert</span><span class="o">=</span><span class="n">invert</span>
<span class="p">)</span>
<span class="n">clipped_dataset</span><span class="o">.</span><span class="n">attrs</span><span class="p">[</span><span class="s2">&quot;creation_date&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="nb">str</span><span class="p">(</span><span class="n">datetime</span><span class="o">.</span><span class="n">utcnow</span><span class="p">())</span>
<span class="k">return</span> <span class="n">clipped_dataset</span></div>
Expand Down Expand Up @@ -1335,7 +1343,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> &#187;</li>
</ul>
</div>
Expand Down
4 changes: 4 additions & 0 deletions docs/html/_sources/history.rst.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
History
=======

0.0.7
-----
- Add option to do an inverted clip (pull #29)

0.0.6
-----
- Add support for scalar coordinates in reproject (issue #15)
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.0.6',
VERSION: '0.0.7',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
Expand Down
6 changes: 3 additions & 3 deletions docs/html/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Credits &#8212; rioxarray 0.0.6 documentation</title>
<title>Credits &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down Expand Up @@ -34,7 +34,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="contributing.html" title="Contributing"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -119,7 +119,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="contributing.html" title="Contributing"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
6 changes: 3 additions & 3 deletions docs/html/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contributing &#8212; rioxarray 0.0.6 documentation</title>
<title>Contributing &#8212; rioxarray 0.0.7 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down Expand Up @@ -34,7 +34,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="rioxarray.html" title="rioxarray package"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -220,7 +220,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="rioxarray.html" title="rioxarray package"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.6 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">rioxarray 0.0.7 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
Loading

0 comments on commit 9d95c02

Please sign in to comment.