TNO Intern

Commit ef3bfc89 authored by Arjo Segers's avatar Arjo Segers
Browse files

Create gridded averages using mapping functions similar as used in observation operator.

parent 95d38b4e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
.. Documentation for module.

.. Import documentation from ".py" file:
.. automodule:: cso_mapping
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ Classes used for specific tasks are implemented in the ``cso_*`` modules.
   pymod-cso_s5p
   pymod-cso_file
   pymod-cso_gridded
   pymod-cso_mapping
   pymod-cso_catalogue
   pymod-cso_plot
   pymod-cso_constants
+34 −2
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@
 | <a href="#H"><strong>H</strong></a>
 | <a href="#I"><strong>I</strong></a>
 | <a href="#K"><strong>K</strong></a>
 | <a href="#L"><strong>L</strong></a>
 | <a href="#M"><strong>M</strong></a>
 | <a href="#O"><strong>O</strong></a>
 | <a href="#P"><strong>P</strong></a>
@@ -234,8 +235,6 @@
      </ul></li>
      <li><a href="pymod-cso_file.html#cso_file.CSO_File">CSO_File (class in cso_file)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li>
    cso_gridded

@@ -243,6 +242,8 @@
        <li><a href="pymod-cso_gridded.html#module-cso_gridded">module</a>
</li>
      </ul></li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_gridded.html#cso_gridded.CSO_GriddedAverage">CSO_GriddedAverage (class in cso_gridded)</a>
</li>
      <li><a href="pymod-cso_catalogue.html#cso_catalogue.CSO_GriddedCatalogue">CSO_GriddedCatalogue (class in cso_catalogue)</a>
@@ -259,6 +260,13 @@
      <li><a href="pymod-cso_file.html#cso_file.CSO_Listing">CSO_Listing (class in cso_file)</a>
</li>
      <li>
    cso_mapping

      <ul>
        <li><a href="pymod-cso_mapping.html#module-cso_mapping">module</a>
</li>
      </ul></li>
      <li>
    cso_pal

      <ul>
@@ -335,6 +343,8 @@
<h2 id="E">E</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_constants.html#cso_constants.EarthRadius">EarthRadius (in module cso_constants)</a>
</li>
      <li><a href="pymod-cso_plot.html#cso_plot.Figure.Export">Export() (cso_plot.Figure method)</a>

      <ul>
@@ -508,6 +518,22 @@
  </ul></td>
</tr></table>

<h2 id="L">L</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_mapping.html#cso_mapping.LonLatDistance">LonLatDistance() (in module cso_mapping)</a>
</li>
      <li><a href="pymod-cso_mapping.html#cso_mapping.LonLatPolygonCentroids">LonLatPolygonCentroids() (in module cso_mapping)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_mapping.html#cso_mapping.LonLatRectanglesArea">LonLatRectanglesArea() (in module cso_mapping)</a>
</li>
      <li><a href="pymod-cso_mapping.html#cso_mapping.LonLatTrianglesArea">LonLatTrianglesArea() (in module cso_mapping)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
@@ -532,6 +558,8 @@
        <li><a href="pymod-cso_gridded.html#module-cso_gridded">cso_gridded</a>
</li>
        <li><a href="pymod-cso_inquire.html#module-cso_inquire">cso_inquire</a>
</li>
        <li><a href="pymod-cso_mapping.html#module-cso_mapping">cso_mapping</a>
</li>
        <li><a href="pymod-cso_pal.html#module-cso_pal">cso_pal</a>
</li>
@@ -708,6 +736,10 @@
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_plot.html#cso_plot.ColorbarMapFigure.Text">Text() (cso_plot.ColorbarMapFigure method)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="pymod-cso_mapping.html#cso_mapping.TrianglesArea">TrianglesArea() (in module cso_mapping)</a>
</li>
  </ul></td>
</tr></table>
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ using the total overlapping area:</p>
<li><p><span class="math notranslate nohighlight">\(w_p\)</span> is the footprint area [m<sup>2</sup>] of pixel <span class="math notranslate nohighlight">\(p\)</span></p></li>
<li><p><span class="math notranslate nohighlight">\(w_{p,k}\)</span> is the area [m<sup>2</sup>] of pixel <span class="math notranslate nohighlight">\(p\)</span> that overlaps with the cell <span class="math notranslate nohighlight">\(k\)</span>.</p></li>
</ul>
<p>The overlapping area is computed using the <code class="xref py py-meth docutils literal notranslate"><span class="pre">LonLatPolygonCentroids</span></code> method.
<p>The overlapping area is computed using the <a class="reference internal" href="pymod-cso_mapping.html#cso_mapping.LonLatPolygonCentroids" title="cso_mapping.LonLatPolygonCentroids"><code class="xref py py-meth docutils literal notranslate"><span class="pre">LonLatPolygonCentroids</span></code></a> method.
This fractions a footprint area into a large number of triangles, and returns
for each triangle the centroid and the area.
The centroids are collected per grid cell, and sum over the associated triangle area’s is
+84 B (3.38 KiB)

File changed.

No diff preview for this file type.

Loading