|
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | 7 |
|
8 | 8 | <title>Analysis — Documentation</title> |
9 | | - <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b3523f8e" /> |
10 | | - <link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=541523b4" /> |
| 9 | + <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=61cd365c" /> |
| 10 | + <link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=a5d0ad34" /> |
11 | 11 | <link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=fd3f3429" /> |
12 | 12 | <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" /> |
13 | | - <link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=61a4c737" /> |
14 | | - <link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=ca3c1c84" /> |
15 | | - <link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=e5fbc548" /> |
| 13 | + <link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" /> |
| 14 | + <link rel="stylesheet" type="text/css" href="_static/sg_gallery-binder.css?v=f4aeca0c" /> |
| 15 | + <link rel="stylesheet" type="text/css" href="_static/sg_gallery-dataframe.css?v=2082cf3c" /> |
16 | 16 | <link rel="stylesheet" type="text/css" href="_static/sg_gallery-rendered-html.css?v=1277b6f3" /> |
17 | 17 | <link rel="stylesheet" type="text/css" href="_static/customise-alabaster.css?v=5dec66a6" /> |
18 | 18 | <script src="_static/documentation_options.js?v=5318ce95"></script> |
|
28 | 28 |
|
29 | 29 | <link rel="stylesheet" href="_static/custom.css" type="text/css" /> |
30 | 30 |
|
| 31 | + |
| 32 | + |
31 | 33 |
|
32 | | - <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> |
33 | 34 |
|
34 | 35 | </head><body> |
35 | 36 | <div class="document"> |
36 | 37 |
|
37 | | - <div class="sphinxsidebar" role="navigation" aria-label="Main"> |
| 38 | + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
38 | 39 | <div class="sphinxsidebarwrapper"> |
39 | 40 | <p class="logo"><a href="index.html"> |
40 | | - <img class="logo" src="_static/logo.svg" alt="Logo of Python cf package"/> |
| 41 | + <img class="logo" src="_static/logo.svg" alt="Logo"/> |
41 | 42 | </a></p> |
42 | 43 |
|
43 | 44 |
|
@@ -124,7 +125,7 @@ <h3>Related Topics</h3> |
124 | 125 | <hr class="docutils" /> |
125 | 126 | <p>Version 3.18.2 for version 1.12 of the CF conventions.</p> |
126 | 127 | <p>All of the Python code in this tutorial is available in an executable |
127 | | -script (<a class="reference download internal" download="" href="_downloads/f005a212533d023d9ca8ee5ecd9a9065/field_analysis.py"><code class="xref download docutils literal notranslate"><span class="pre">download</span></code></a>, 8kB).</p> |
| 128 | +script (<a class="reference download internal" download="" href="_downloads/field_analysis.py"><code class="xref download docutils literal notranslate"><span class="pre">download</span></code></a>, 8kB).</p> |
128 | 129 | <p>Note that this page is duplicated in the <a class="reference internal" href="tutorial.html#tutorial"><span class="std std-ref">tutorial</span></a>.</p> |
129 | 130 | <nav class="contents local" id="contents"> |
130 | 131 | <ul class="simple"> |
@@ -182,7 +183,7 @@ <h3>Related Topics</h3> |
182 | 183 | <span id="id2"></span><h2><a class="toc-backref" href="#id83" role="doc-backlink"><strong>Sample datasets</strong></a><a class="headerlink" href="#sample-datasets" title="Link to this heading">¶</a></h2> |
183 | 184 | <p>This tutorial uses a number of small sample datasets, all of which can |
184 | 185 | be found in the zip file <code class="docutils literal notranslate"><span class="pre">cf_tutorial_files.zip</span></code> |
185 | | -(<a class="reference download internal" download="" href="_downloads/662a6146f847a4d1c19d523d3f30e1cc/cf_tutorial_files.zip"><code class="xref download docutils literal notranslate"><span class="pre">download</span></code></a>, |
| 186 | +(<a class="reference download internal" download="" href="_downloads/cf_tutorial_files.zip"><code class="xref download docutils literal notranslate"><span class="pre">download</span></code></a>, |
186 | 187 | 164kB):</p> |
187 | 188 | <div class="literal-block-wrapper docutils container" id="id28"> |
188 | 189 | <div class="code-block-caption"><span class="caption-text"><em>Unpack the sample datasets.</em></span><a class="headerlink" href="#id28" title="Link to this code">¶</a></div> |
@@ -2444,7 +2445,7 @@ <h3><a class="toc-backref" href="#id112" role="doc-backlink">Moving windows</a>< |
2444 | 2445 | cell sizes (or custom weights) may applied to the calculation.</p> |
2445 | 2446 | <div class="literal-block-wrapper docutils container" id="id79"> |
2446 | 2447 | <div class="code-block-caption"><span class="caption-text"><em>Calculate a 3-point weighted mean of the ‘X’ axis. Since |
2447 | | -the the ‘X’ axis is cyclic, the mean wraps by default.</em></span><a class="headerlink" href="#id79" title="Link to this code">¶</a></div> |
| 2448 | +the ‘X’ axis is cyclic, the mean wraps by default.</em></span><a class="headerlink" href="#id79" title="Link to this code">¶</a></div> |
2448 | 2449 | <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">q</span><span class="p">,</span> <span class="n">t</span> <span class="o">=</span> <span class="n">cf</span><span class="o">.</span><span class="n">read</span><span class="p">(</span><span class="s1">'file.nc'</span><span class="p">)</span> |
2449 | 2450 | <span class="gp">>>> </span><span class="nb">print</span><span class="p">(</span><span class="n">q</span><span class="p">)</span> |
2450 | 2451 | <span class="go">Field: specific_humidity (ncvar%q)</span> |
@@ -2517,7 +2518,7 @@ <h3><a class="toc-backref" href="#id113" role="doc-backlink">Convolution filters |
2517 | 2518 | <a class="reference internal" href="method/cf.Field.convolution_filter.html#cf.Field.convolution_filter" title="cf.Field.convolution_filter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">convolution_filter</span></code></a> method of the field construct.</p> |
2518 | 2519 | <div class="literal-block-wrapper docutils container" id="id80"> |
2519 | 2520 | <div class="code-block-caption"><span class="caption-text"><em>Calculate a 5-point mean of the ‘X’ axis with a |
2520 | | -non-uniform window function. Since the the ‘X’ axis is |
| 2521 | +non-uniform window function. Since the ‘X’ axis is |
2521 | 2522 | cyclic, the convolution wraps by default.</em></span><a class="headerlink" href="#id80" title="Link to this code">¶</a></div> |
2522 | 2523 | <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="nb">print</span><span class="p">(</span><span class="n">q</span><span class="p">)</span> |
2523 | 2524 | <span class="go">Field: specific_humidity (ncvar%q)</span> |
@@ -2746,11 +2747,11 @@ <h3><a class="toc-backref" href="#id118" role="doc-backlink">Curl</a><a class="h |
2746 | 2747 | <div class="clearer"></div> |
2747 | 2748 | </div> |
2748 | 2749 | <div class="footer"> |
2749 | | - ©2025, NCAS | Page built on 2025-10-16. |
| 2750 | + ©2025, NCAS | Page built on 2025-10-29. |
2750 | 2751 |
|
2751 | 2752 | | |
2752 | | - Powered by <a href="http://sphinx-doc.org/">Sphinx 7.4.7</a> |
2753 | | - & <a href="https://github.com/sphinx-doc/alabaster">Alabaster 0.7.14</a> |
| 2753 | + Powered by <a href="https://www.sphinx-doc.org/">Sphinx 7.3.7</a> |
| 2754 | + & <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a> |
2754 | 2755 |
|
2755 | 2756 | </div> |
2756 | 2757 |
|
|
0 commit comments