climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r993913 [4/16] - in /websites/staging/climate/trunk/content: ./ api/1.0.0/_sources/ api/1.0.0/_sources/config/ api/1.0.0/_sources/data_source/ api/1.0.0/_sources/ocw/ api/1.0.0/_sources/ui-backend/ api/1.0.0/_static/ api/1.0.0/config/ api/1...
Date Wed, 27 Jul 2016 17:50:57 GMT
Added: websites/staging/climate/trunk/content/api/1.0.0/ocw/dataset_processor.html
==============================================================================
--- websites/staging/climate/trunk/content/api/1.0.0/ocw/dataset_processor.html (added)
+++ websites/staging/climate/trunk/content/api/1.0.0/ocw/dataset_processor.html Wed Jul 27 17:50:56 2016
@@ -0,0 +1,393 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Dataset Processor Module &mdash; Apache Open Climate Workbench 1.0.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '1.0.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="Apache Open Climate Workbench 1.0.0 documentation" href="../index.html" />
+    <link rel="next" title="Evaluation Module" href="evaluation.html" />
+    <link rel="prev" title="Dataset Module" href="dataset.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="evaluation.html" title="Evaluation Module"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="dataset.html" title="Dataset Module"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="module-dataset_processor">
+<span id="dataset-processor-module"></span><h1>Dataset Processor Module<a class="headerlink" href="#module-dataset_processor" title="Permalink to this headline">¶</a></h1>
+<dl class="function">
+<dt id="dataset_processor.ensemble">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">ensemble</tt><big>(</big><em>datasets</em><big>)</big><a class="headerlink" href="#dataset_processor.ensemble" title="Permalink to this definition">¶</a></dt>
+<dd><p>Generate a single dataset which is the mean of the input datasets</p>
+<p>An ensemble datasets combines input datasets assuming the all have
+similar shape, dimensions, and units.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>datasets</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; Datasets to be used to compose the ensemble dataset from.
+All Datasets must be the same shape.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">New Dataset with a name of &#8216;Dataset Ensemble&#8217;</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.mask_missing_data">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">mask_missing_data</tt><big>(</big><em>dataset_array</em><big>)</big><a class="headerlink" href="#dataset_processor.mask_missing_data" title="Permalink to this definition">¶</a></dt>
+<dd><p>Check missing values in observation and model datasets.
+If any of dataset in dataset_array has missing values at a grid point,
+the values at the grid point in all other datasets are masked.
+:param dataset_array: an array of OCW datasets</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.normalize_dataset_datetimes">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">normalize_dataset_datetimes</tt><big>(</big><em>dataset</em>, <em>timestep</em><big>)</big><a class="headerlink" href="#dataset_processor.normalize_dataset_datetimes" title="Permalink to this definition">¶</a></dt>
+<dd><p>Normalize Dataset datetime values.</p>
+<p>Force daily to an hour time value of 00:00:00.
+Force monthly data to the first of the month at midnight.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The Dataset which will have its time value normalized.</li>
+<li><strong>timestep</strong> (<a class="reference external" href="http://docs.python.org/2/library/string.html#module-string" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">string</span></tt></a>) &#8211; The timestep of the Dataset&#8217;s values. Either &#8216;daily&#8217; or
+&#8216;monthly&#8217;.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A new Dataset with normalized datetime values.</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.safe_subset">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">safe_subset</tt><big>(</big><em>subregion</em>, <em>target_dataset</em>, <em>subregion_name=None</em><big>)</big><a class="headerlink" href="#dataset_processor.safe_subset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Safely subset given dataset with subregion information</p>
+<p>A standard subset requires that the provided subregion be entirely contained
+within the datasets bounds. <cite>safe_subset</cite> returns the overlap of the
+subregion and dataset without returning an error.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>subregion</strong> (<a class="reference internal" href="dataset.html#dataset.Bounds" title="dataset.Bounds"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Bounds</span></tt></a>) &#8211; The Bounds with which to subset the target Dataset.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The Dataset object to subset.</li>
+<li><strong>subregion_name</strong> (<a class="reference external" href="http://docs.python.org/2/library/string.html#module-string" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">string</span></tt></a>) &#8211; The subset-ed Dataset name</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The subset-ed Dataset object</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.spatial_regrid">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">spatial_regrid</tt><big>(</big><em>target_dataset</em>, <em>new_latitudes</em>, <em>new_longitudes</em><big>)</big><a class="headerlink" href="#dataset_processor.spatial_regrid" title="Permalink to this definition">¶</a></dt>
+<dd><p>Regrid a Dataset using the new latitudes and longitudes</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; Dataset object that needs spatially regridded</li>
+<li><strong>new_latitudes</strong> (<a class="reference external" href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html#numpy.ndarray" title="(in NumPy v1.9)"><tt class="xref py py-class docutils literal"><span class="pre">numpy.ndarray</span></tt></a>) &#8211; Array of latitudes</li>
+<li><strong>new_longitudes</strong> (<a class="reference external" href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html#numpy.ndarray" title="(in NumPy v1.9)"><tt class="xref py py-class docutils literal"><span class="pre">numpy.ndarray</span></tt></a>) &#8211; Array of longitudes</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A new spatially regridded Dataset</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.subset">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">subset</tt><big>(</big><em>subregion</em>, <em>target_dataset</em>, <em>subregion_name=None</em><big>)</big><a class="headerlink" href="#dataset_processor.subset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Subset given dataset(s) with subregion information</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>subregion</strong> (<a class="reference internal" href="dataset.html#dataset.Bounds" title="dataset.Bounds"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Bounds</span></tt></a>) &#8211; The Bounds with which to subset the target Dataset.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The Dataset object to subset.</li>
+<li><strong>subregion_name</strong> (<a class="reference external" href="http://docs.python.org/2/library/string.html#module-string" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">string</span></tt></a>) &#8211; The subset-ed Dataset name</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The subset-ed Dataset object</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last">ValueError</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.temperature_unit_conversion">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">temperature_unit_conversion</tt><big>(</big><em>dataset</em><big>)</big><a class="headerlink" href="#dataset_processor.temperature_unit_conversion" title="Permalink to this definition">¶</a></dt>
+<dd><p>Convert temperature units as necessary</p>
+<p>Automatically convert Celcius to Kelvin in the given dataset.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>dataset</strong> &#8211; The dataset for which units should be updated.</td>
+</tr>
+</tbody>
+</table>
+<p>:type dataset; <a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">The dataset with (potentially) updated units.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.temporal_rebin">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">temporal_rebin</tt><big>(</big><em>target_dataset</em>, <em>temporal_resolution</em><big>)</big><a class="headerlink" href="#dataset_processor.temporal_rebin" title="Permalink to this definition">¶</a></dt>
+<dd><p>Rebin a Dataset to a new temporal resolution</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; Dataset object that needs temporal rebinned</li>
+<li><strong>temporal_resolution</strong> (<a class="reference external" href="http://docs.python.org/2/library/datetime.html#datetime.timedelta" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">datetime.timedelta</span></tt></a>) &#8211; The new temporal bin size</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A new temporally rebinned Dataset</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.temporal_subset">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">temporal_subset</tt><big>(</big><em>month_start</em>, <em>month_end</em>, <em>target_dataset</em>, <em>average_each_year=False</em><big>)</big><a class="headerlink" href="#dataset_processor.temporal_subset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Temporally subset data given month_index.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>month_start</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">int</span></tt></a>) &#8211; An integer for beginning month (Jan=1)</li>
+<li><strong>month_end</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">int</span></tt></a>) &#8211; An integer for ending month (Jan=1)</li>
+<li><strong>target_dataset</strong> (<em>Open Climate Workbench Dataset Object</em>) &#8211; Dataset object that needs temporal subsetting</li>
+<li><strong>average_each_year</strong> (<em>:class:&#8217;boolean&#8217;</em>) &#8211; If True, output dataset is averaged for each year</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A temporal subset OCW Dataset</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">Open Climate Workbench Dataset Object</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.variable_unit_conversion">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">variable_unit_conversion</tt><big>(</big><em>dataset</em><big>)</big><a class="headerlink" href="#dataset_processor.variable_unit_conversion" title="Permalink to this definition">¶</a></dt>
+<dd><p>Convert water flux or temperature variables units as necessary</p>
+<p>For water flux variables, convert full SI units water flux units to more common units.
+For temperature, convert Celcius to Kelvin.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The dataset to convert.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A Dataset with values converted to new units.</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.water_flux_unit_conversion">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">water_flux_unit_conversion</tt><big>(</big><em>dataset</em><big>)</big><a class="headerlink" href="#dataset_processor.water_flux_unit_conversion" title="Permalink to this definition">¶</a></dt>
+<dd><p>Convert water flux variables units as necessary</p>
+<p>Convert full SI units water flux units to more common units.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The dataset to convert.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A Dataset with values converted to new units.</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a></td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="dataset_processor.write_netcdf">
+<tt class="descclassname">dataset_processor.</tt><tt class="descname">write_netcdf</tt><big>(</big><em>dataset</em>, <em>path</em>, <em>compress=True</em><big>)</big><a class="headerlink" href="#dataset_processor.write_netcdf" title="Permalink to this definition">¶</a></dt>
+<dd><p>Write a dataset to a NetCDF file.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The dataset to write.</li>
+<li><strong>path</strong> (<a class="reference external" href="http://docs.python.org/2/library/string.html#module-string" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">string</span></tt></a>) &#8211; The output file path.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="dataset.html"
+                        title="previous chapter">Dataset Module</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="evaluation.html"
+                        title="next chapter">Evaluation Module</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/ocw/dataset_processor.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="evaluation.html" title="Evaluation Module"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="dataset.html" title="Dataset Module"
+             >previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2013, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.1.
+    </div>
+  </body>
+</html>
\ No newline at end of file

Added: websites/staging/climate/trunk/content/api/1.0.0/ocw/evaluation.html
==============================================================================
--- websites/staging/climate/trunk/content/api/1.0.0/ocw/evaluation.html (added)
+++ websites/staging/climate/trunk/content/api/1.0.0/ocw/evaluation.html Wed Jul 27 17:50:56 2016
@@ -0,0 +1,293 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Evaluation Module &mdash; Apache Open Climate Workbench 1.0.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '1.0.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="Apache Open Climate Workbench 1.0.0 documentation" href="../index.html" />
+    <link rel="next" title="Metrics Module" href="metrics.html" />
+    <link rel="prev" title="Dataset Processor Module" href="dataset_processor.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="metrics.html" title="Metrics Module"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="dataset_processor.html" title="Dataset Processor Module"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="evaluation-module">
+<h1>Evaluation Module<a class="headerlink" href="#evaluation-module" title="Permalink to this headline">¶</a></h1>
+<dl class="class">
+<dt id="evaluation.Evaluation">
+<em class="property">class </em><tt class="descclassname">evaluation.</tt><tt class="descname">Evaluation</tt><big>(</big><em>reference</em>, <em>targets</em>, <em>metrics</em>, <em>subregions=None</em><big>)</big><a class="headerlink" href="#evaluation.Evaluation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Container for running an evaluation</p>
+<p>An <em>Evaluation</em> is the running of one or more metrics on one or more 
+target datasets and a (possibly optional) reference dataset. Evaluation
+can handle two types of metrics, <tt class="docutils literal"><span class="pre">unary</span></tt> and <tt class="docutils literal"><span class="pre">binary</span></tt>. The validity
+of an Evaluation is dependent upon the number and type of metrics as well
+as the number of datasets.</p>
+<p>A <tt class="docutils literal"><span class="pre">unary</span></tt> metric is a metric that runs over a single dataset. If you add
+a <tt class="docutils literal"><span class="pre">unary</span></tt> metric to the Evaluation you are only required to add a 
+reference dataset or a target dataset. If there are multiple datasets
+in the evaluation then the <tt class="docutils literal"><span class="pre">unary</span></tt> metric is run over all of them.</p>
+<p>A <tt class="docutils literal"><span class="pre">binary</span></tt> metric is a metric that runs over a reference dataset and
+target dataset. If you add a <tt class="docutils literal"><span class="pre">binary</span></tt> metric you are required to add a
+reference dataset and at least one target dataset. The <tt class="docutils literal"><span class="pre">binary</span></tt> metrics
+are run over every (reference dataset, target dataset) pair in the
+Evaluation.</p>
+<p>An Evaluation must have at least one metric to be valid.</p>
+<p>Default Evaluation constructor.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>reference</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference Dataset for the evaluation.</li>
+<li><strong>targets</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; A list of one or more target datasets for the 
+evaluation.</li>
+<li><strong>metrics</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="metrics.html#module-metrics" title="metrics"><tt class="xref py py-mod docutils literal"><span class="pre">metrics</span></tt></a>) &#8211; A list of one or more Metric instances to run 
+in the evaluation.</li>
+<li><strong>subregions</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="dataset.html#dataset.Bounds" title="dataset.Bounds"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Bounds</span></tt></a>) &#8211; (Optional) Subregion information to use in the
+evaluation. A subregion is specified with a Bounds object.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last">ValueError</p>
+</td>
+</tr>
+</tbody>
+</table>
+<dl class="method">
+<dt id="evaluation.Evaluation.add_dataset">
+<tt class="descname">add_dataset</tt><big>(</big><em>target_dataset</em><big>)</big><a class="headerlink" href="#evaluation.Evaluation.add_dataset" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add a Dataset to the Evaluation.</p>
+<p>A target Dataset is compared against the reference dataset when the 
+Evaluation is run with one or more metrics.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target Dataset to add to the Evaluation.</td>
+</tr>
+<tr class="field-even field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
+<tr class="field-even field"><td>&nbsp;</td><td class="field-body">If a dataset to add isn&#8217;t an instance of Dataset.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="evaluation.Evaluation.add_datasets">
+<tt class="descname">add_datasets</tt><big>(</big><em>target_datasets</em><big>)</big><a class="headerlink" href="#evaluation.Evaluation.add_datasets" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add multiple Datasets to the Evaluation.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>target_datasets</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The list of datasets that should be added to 
+the Evaluation.</td>
+</tr>
+<tr class="field-even field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
+<tr class="field-even field"><td>&nbsp;</td><td class="field-body">If a dataset to add isn&#8217;t an instance of Dataset.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="evaluation.Evaluation.add_metric">
+<tt class="descname">add_metric</tt><big>(</big><em>metric</em><big>)</big><a class="headerlink" href="#evaluation.Evaluation.add_metric" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add a metric to the Evaluation.</p>
+<p>A metric is an instance of a class which inherits from metrics.Metric.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>metric</strong> (<a class="reference internal" href="metrics.html#module-metrics" title="metrics"><tt class="xref py py-mod docutils literal"><span class="pre">metrics</span></tt></a>) &#8211; The metric instance to add to the Evaluation.</td>
+</tr>
+<tr class="field-even field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
+<tr class="field-even field"><td>&nbsp;</td><td class="field-body">If the metric to add isn&#8217;t a class that inherits
+from metrics.Metric.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="method">
+<dt id="evaluation.Evaluation.add_metrics">
+<tt class="descname">add_metrics</tt><big>(</big><em>metrics</em><big>)</big><a class="headerlink" href="#evaluation.Evaluation.add_metrics" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add multiple metrics to the Evaluation.</p>
+<p>A metric is an instance of a class which inherits from metrics.Metric.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>metrics</strong> (<a class="reference external" href="http://docs.python.org/2/library/functions.html#list" title="(in Python v2.7)"><tt class="xref py py-class docutils literal"><span class="pre">list</span></tt></a> of <a class="reference internal" href="metrics.html#module-metrics" title="metrics"><tt class="xref py py-mod docutils literal"><span class="pre">metrics</span></tt></a>) &#8211; The list of metric instances to add to the Evaluation.</td>
+</tr>
+<tr class="field-even field"><th class="field-name" colspan="2">Raises ValueError:</th></tr>
+<tr class="field-even field"><td>&nbsp;</td><td class="field-body">If a metric to add isn&#8217;t a class that inherits
+from metrics.Metric.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="evaluation.Evaluation.metrics">
+<tt class="descname">metrics</tt><em class="property"> = None</em><a class="headerlink" href="#evaluation.Evaluation.metrics" title="Permalink to this definition">¶</a></dt>
+<dd><p>The list of &#8220;binary&#8221; metrics (A metric which takes two Datasets)
+that the Evaluation should use.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="evaluation.Evaluation.results">
+<tt class="descname">results</tt><em class="property"> = None</em><a class="headerlink" href="#evaluation.Evaluation.results" title="Permalink to this definition">¶</a></dt>
+<dd><p>A list containing the results of running regular metric evaluations.
+The shape of results is <tt class="docutils literal"><span class="pre">(num_target_datasets,</span> <span class="pre">num_metrics)</span></tt> if
+the user doesn&#8217;t specify subregion information. Otherwise the shape
+is <tt class="docutils literal"><span class="pre">(num_target_datasets,</span> <span class="pre">num_metrics,</span> <span class="pre">num_subregions)</span></tt>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="evaluation.Evaluation.run">
+<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#evaluation.Evaluation.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Run the evaluation.</p>
+<p>There are two phases to a run of the Evaluation. First, if there are
+any &#8220;binary&#8221; metrics they are run through the evaluation. Binary
+metrics are only run if there is a reference dataset and at least one
+target dataset.</p>
+<p>If there is subregion information provided then each dataset is subset
+before being run through the binary metrics.</p>
+<p>..note:: Only the binary metrics are subset with subregion information.</p>
+<p>Next, if there are any &#8220;unary&#8221; metrics they are run. Unary metrics are
+only run if there is at least one target dataset or a reference dataset.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="evaluation.Evaluation.target_datasets">
+<tt class="descname">target_datasets</tt><em class="property"> = None</em><a class="headerlink" href="#evaluation.Evaluation.target_datasets" title="Permalink to this definition">¶</a></dt>
+<dd><p>The target dataset(s) which should each be compared with
+the reference dataset when the evaluation is run.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="evaluation.Evaluation.unary_metrics">
+<tt class="descname">unary_metrics</tt><em class="property"> = None</em><a class="headerlink" href="#evaluation.Evaluation.unary_metrics" title="Permalink to this definition">¶</a></dt>
+<dd><p>The list of &#8220;unary&#8221; metrics (A metric which takes one Dataset) that
+the Evaluation should use.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="evaluation.Evaluation.unary_results">
+<tt class="descname">unary_results</tt><em class="property"> = None</em><a class="headerlink" href="#evaluation.Evaluation.unary_results" title="Permalink to this definition">¶</a></dt>
+<dd><p>A list containing the results of running the unary metric
+evaluations. The shape of unary_results is
+<tt class="docutils literal"><span class="pre">(num_targets,</span> <span class="pre">num_metrics)</span></tt> where <tt class="docutils literal"><span class="pre">num_targets</span> <span class="pre">=</span>
+<span class="pre">num_target_ds</span> <span class="pre">+</span> <span class="pre">(1</span> <span class="pre">if</span> <span class="pre">ref_dataset</span> <span class="pre">!=</span> <span class="pre">None</span> <span class="pre">else</span> <span class="pre">0</span></tt></p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="dataset_processor.html"
+                        title="previous chapter">Dataset Processor Module</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="metrics.html"
+                        title="next chapter">Metrics Module</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/ocw/evaluation.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="metrics.html" title="Metrics Module"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="dataset_processor.html" title="Dataset Processor Module"
+             >previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2013, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.1.
+    </div>
+  </body>
+</html>
\ No newline at end of file

Added: websites/staging/climate/trunk/content/api/1.0.0/ocw/metrics.html
==============================================================================
--- websites/staging/climate/trunk/content/api/1.0.0/ocw/metrics.html (added)
+++ websites/staging/climate/trunk/content/api/1.0.0/ocw/metrics.html Wed Jul 27 17:50:56 2016
@@ -0,0 +1,579 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Metrics Module &mdash; Apache Open Climate Workbench 1.0.0 documentation</title>
+    
+    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '../',
+        VERSION:     '1.0.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="../_static/jquery.js"></script>
+    <script type="text/javascript" src="../_static/underscore.js"></script>
+    <script type="text/javascript" src="../_static/doctools.js"></script>
+    <link rel="top" title="Apache Open Climate Workbench 1.0.0 documentation" href="../index.html" />
+    <link rel="next" title="Plotter Module" href="plotter.html" />
+    <link rel="prev" title="Evaluation Module" href="evaluation.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="plotter.html" title="Plotter Module"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="evaluation.html" title="Evaluation Module"
+             accesskey="P">previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  <div class="section" id="module-metrics">
+<span id="metrics-module"></span><h1>Metrics Module<a class="headerlink" href="#module-metrics" title="Permalink to this headline">¶</a></h1>
+<dl class="docutils">
+<dt>Classes:</dt>
+<dd>Metric - Abstract Base Class from which all metrics must inherit.</dd>
+</dl>
+<dl class="class">
+<dt id="metrics.Bias">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">Bias</tt><a class="headerlink" href="#metrics.Bias" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the bias between a reference and target dataset.</p>
+<dl class="method">
+<dt id="metrics.Bias.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.Bias.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the bias between a reference and target dataset.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric run.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The difference between the reference and target datasets.</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html#numpy.ndarray" title="(in NumPy v1.9)"><tt class="xref py py-class docutils literal"><span class="pre">numpy.ndarray</span></tt></a></p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.BinaryMetric">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">BinaryMetric</tt><a class="headerlink" href="#metrics.BinaryMetric" title="Permalink to this definition">¶</a></dt>
+<dd><p>Abstract Base Class from which all binary metrics inherit.</p>
+<dl class="method">
+<dt id="metrics.BinaryMetric.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.BinaryMetric.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Run the metric for the given reference and target datasets.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The Dataset to use as the reference dataset when
+running the evaluation.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The Dataset to use as the target dataset when
+running the evaluation.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The result of evaluation the metric on the reference and 
+target dataset.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.Metric">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">Metric</tt><a class="headerlink" href="#metrics.Metric" title="Permalink to this definition">¶</a></dt>
+<dd><p>Base Metric Class</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.PatternCorrelation">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">PatternCorrelation</tt><a class="headerlink" href="#metrics.PatternCorrelation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the correlation coefficient between two datasets</p>
+<dl class="method">
+<dt id="metrics.PatternCorrelation.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.PatternCorrelation.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the correlation coefficient between two dataset.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric run.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The correlation coefficient between a reference and target dataset.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.RMSError">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">RMSError</tt><a class="headerlink" href="#metrics.RMSError" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the Root Mean Square Difference (RMS Error), with the mean
+calculated over time and space.</p>
+<dl class="method">
+<dt id="metrics.RMSError.run">
+<tt class="descname">run</tt><big>(</big><em>reference_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.RMSError.run" title="Permalink to this definition">¶</a></dt>
+<dd><dl class="docutils">
+<dt>Calculate the Root Mean Square Difference (RMS Error), with the mean</dt>
+<dd>calculated over time and space.</dd>
+</dl>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>reference_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric
+run</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The RMS error, with the mean calculated over time and space</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.SpatialPatternTaylorDiagram">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">SpatialPatternTaylorDiagram</tt><a class="headerlink" href="#metrics.SpatialPatternTaylorDiagram" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the target to reference ratio of spatial standard deviation and pattern correlation</p>
+<dl class="method">
+<dt id="metrics.SpatialPatternTaylorDiagram.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.SpatialPatternTaylorDiagram.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate two metrics to plot a Taylor diagram to compare spatial patterns</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric run.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">standard deviation ratio, pattern correlation coefficient</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:float:&#8217;float&#8217;,&#8217;float&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.StdDevRatio">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">StdDevRatio</tt><a class="headerlink" href="#metrics.StdDevRatio" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the standard deviation ratio between two datasets.</p>
+<dl class="method">
+<dt id="metrics.StdDevRatio.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.StdDevRatio.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the standard deviation ratio.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric run.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The standard deviation ratio of the reference and target</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.TemporalCorrelation">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">TemporalCorrelation</tt><a class="headerlink" href="#metrics.TemporalCorrelation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the temporal correlation coefficients and associated
+confidence levels between two datasets, using Pearson&#8217;s correlation.</p>
+<dl class="method">
+<dt id="metrics.TemporalCorrelation.run">
+<tt class="descname">run</tt><big>(</big><em>reference_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.TemporalCorrelation.run" title="Permalink to this definition">¶</a></dt>
+<dd><dl class="docutils">
+<dt>Calculate the temporal correlation coefficients and associated</dt>
+<dd>confidence levels between two datasets, using Pearson&#8217;s correlation.</dd>
+</dl>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>reference_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric
+run</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A 2D array of temporal correlation coefficients and a 2D
+array of confidence levels associated with the temporal correlation
+coefficients</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.TemporalMeanBias">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">TemporalMeanBias</tt><a class="headerlink" href="#metrics.TemporalMeanBias" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the bias averaged over time.</p>
+<dl class="method">
+<dt id="metrics.TemporalMeanBias.run">
+<tt class="descname">run</tt><big>(</big><em>ref_dataset</em>, <em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.TemporalMeanBias.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the bias averaged over time.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides BinaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>ref_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The reference dataset to use in this metric run.</li>
+<li><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target dataset to evaluate against the
+reference dataset in this metric run.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">The mean bias between a reference and target dataset over time.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.TemporalStdDev">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">TemporalStdDev</tt><a class="headerlink" href="#metrics.TemporalStdDev" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the standard deviation over the time.</p>
+<dl class="method">
+<dt id="metrics.TemporalStdDev.run">
+<tt class="descname">run</tt><big>(</big><em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.TemporalStdDev.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the temporal std. dev. for a datasets.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Overrides UnaryMetric.run()</p>
+</div>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The target_dataset on which to calculate the 
+temporal standard deviation.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The temporal standard deviation of the target dataset</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><tt class="xref py py-class docutils literal"><span class="pre">ndarray</span></tt></td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="metrics.UnaryMetric">
+<em class="property">class </em><tt class="descclassname">metrics.</tt><tt class="descname">UnaryMetric</tt><a class="headerlink" href="#metrics.UnaryMetric" title="Permalink to this definition">¶</a></dt>
+<dd><p>Abstract Base Class from which all unary metrics inherit.</p>
+<dl class="method">
+<dt id="metrics.UnaryMetric.run">
+<tt class="descname">run</tt><big>(</big><em>target_dataset</em><big>)</big><a class="headerlink" href="#metrics.UnaryMetric.run" title="Permalink to this definition">¶</a></dt>
+<dd><p>Run the metric for a given target dataset.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>target_dataset</strong> (<a class="reference internal" href="dataset.html#dataset.Dataset" title="dataset.Dataset"><tt class="xref py py-class docutils literal"><span class="pre">dataset.Dataset</span></tt></a>) &#8211; The dataset on which the current metric will
+be run.</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">The result of evaluating the metric on the target_dataset.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="metrics.calc_bias">
+<tt class="descclassname">metrics.</tt><tt class="descname">calc_bias</tt><big>(</big><em>target_array</em>, <em>reference_array</em>, <em>average_over_time=False</em><big>)</big><a class="headerlink" href="#metrics.calc_bias" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate difference between two arrays</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array to be evaluated, as model output</li>
+<li><strong>reference_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array of reference dataset</li>
+<li><strong>average_over_time</strong> (<em>&#8216;bool&#8217;</em>) &#8211; if True, calculated bias is averaged for the axis=0</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Biases array of the target dataset</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:class:&#8217;numpy.ma.core.MaskedArray&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="metrics.calc_correlation">
+<tt class="descclassname">metrics.</tt><tt class="descname">calc_correlation</tt><big>(</big><em>target_array</em>, <em>reference_array</em><big>)</big><a class="headerlink" href="#metrics.calc_correlation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate the correlation coefficient between two arrays.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array to be evaluated, as model output</li>
+<li><strong>reference_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array of reference dataset</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">pearson&#8217;s correlation coefficient between the two input arrays</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:class:&#8217;numpy.ma.core.MaskedArray&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="metrics.calc_rmse">
+<tt class="descclassname">metrics.</tt><tt class="descname">calc_rmse</tt><big>(</big><em>target_array</em>, <em>reference_array</em><big>)</big><a class="headerlink" href="#metrics.calc_rmse" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate ratio of standard deivations of the two arrays</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array to be evaluated, as model output</li>
+<li><strong>reference_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array of reference dataset</li>
+<li><strong>average_over_time</strong> (<em>&#8216;bool&#8217;</em>) &#8211; if True, calculated bias is averaged for the axis=0</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">root mean square error</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:class:&#8217;float&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="metrics.calc_stddev">
+<tt class="descclassname">metrics.</tt><tt class="descname">calc_stddev</tt><big>(</big><em>array</em>, <em>axis=None</em><big>)</big><a class="headerlink" href="#metrics.calc_stddev" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate a sample standard deviation of an array along the array</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array to calculate sample standard deviation</li>
+<li><strong>axis</strong> (<em>&#8216;int&#8217;</em>) &#8211; Axis along which the sample standard deviation is computed.</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">sample standard deviation of array</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:class:&#8217;numpy.ma.core.MaskedArray&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="metrics.calc_stddev_ratio">
+<tt class="descclassname">metrics.</tt><tt class="descname">calc_stddev_ratio</tt><big>(</big><em>target_array</em>, <em>reference_array</em><big>)</big><a class="headerlink" href="#metrics.calc_stddev_ratio" title="Permalink to this definition">¶</a></dt>
+<dd><p>Calculate ratio of standard deivations of the two arrays</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
+<li><strong>target_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array to be evaluated, as model output</li>
+<li><strong>reference_array</strong> (<em>:class:&#8217;numpy.ma.core.MaskedArray&#8217;</em>) &#8211; an array of reference dataset</li>
+<li><strong>average_over_time</strong> (<em>&#8216;bool&#8217;</em>) &#8211; if True, calculated bias is averaged for the axis=0</li>
+</ul>
+</td>
+</tr>
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">(standard deviation of target_array)/(standard deviation of reference array)</p>
+</td>
+</tr>
+<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">:class:&#8217;float&#8217;</p>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="evaluation.html"
+                        title="previous chapter">Evaluation Module</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="plotter.html"
+                        title="next chapter">Plotter Module</a></p>
+  <h3>This Page</h3>
+  <ul class="this-page-menu">
+    <li><a href="../_sources/ocw/metrics.txt"
+           rel="nofollow">Show Source</a></li>
+  </ul>
+<div id="searchbox" style="display: none">
+  <h3>Quick search</h3>
+    <form class="search" action="../search.html" method="get">
+      <input type="text" name="q" />
+      <input type="submit" value="Go" />
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+    <p class="searchtip" style="font-size: 90%">
+    Enter search terms or a module, class or function name.
+    </p>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="../genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="../http-routingtable.html" title="HTTP Routing Table"
+             >routing table</a> |</li>
+        <li class="right" >
+          <a href="../py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="plotter.html" title="Plotter Module"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="evaluation.html" title="Evaluation Module"
+             >previous</a> |</li>
+        <li><a href="../index.html">Apache Open Climate Workbench 1.0.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+        &copy; Copyright 2013, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.1.
+    </div>
+  </body>
+</html>
\ No newline at end of file



Mime
View raw message