You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -142,7 +142,7 @@ <h2>Python<a class="headerlink" href="#python" title="Permalink to this headline
142
142
</section>
143
143
<sectionid="in-place-operations">
144
144
<h2>In-place operations<aclass="headerlink" href="#in-place-operations" title="Permalink to this headline">¶</a></h2>
145
-
<p>At version 3.x, in-place operations return <aclass="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.11)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">None</span></code></a>, rather than the
145
+
<p>At version 3.x, in-place operations return <aclass="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">None</span></code></a>, rather than the
146
146
modified construct. The keyword that defines the operation to be
147
147
in-place is now <em>inplace</em> (rather than <em>i</em>).</p>
<spanid="id1"></span><h1><strong>Aggregation rules</strong><aclass="headerlink" href="#aggregation-rules" title="Permalink to this headline">¶</a></h1>
132
132
<hrclass="docutils" />
133
-
<p>Version 3.15.3 for version 1.10 of the CF conventions.</p>
133
+
<p>Version 3.15.4 for version 1.10 of the CF conventions.</p>
134
134
<p><em>David Hassell and Jonathan Gregory (2012)</em></p>
<p>Aggregation is the combination of two field constructs <aclass="reference internal" href="cf_data_model.html#term-field-construct"><spanclass="xref std std-term">field
<p>Note that this page is duplicated in the <aclass="reference internal" href="tutorial.html#tutorial"><spanclass="std std-ref">tutorial</span></a>.</p>
<p>Care must be taken when combining a construct with a
2082
-
<aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.25)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a> array or a <aclass="reference internal" href="class/cf.Data.html#cf.Data" title="cf.Data"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Data</span></code></a> instance, due to the ways in
2082
+
<aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.26)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a> array or a <aclass="reference internal" href="class/cf.Data.html#cf.Data" title="cf.Data"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Data</span></code></a> instance, due to the ways in
2083
2083
which both of these objects allow themselves to be
2084
2084
combined with other types:</p>
2085
2085
<ulclass="simple">
2086
2086
<li><p>If the construct is on the left hand side (LHS) of the
2087
2087
operation then, as expected, a construct is returned
2088
2088
whose data is the combination of the original
2089
-
construct’s data and the <aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.25)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a> array or <aclass="reference internal" href="class/cf.Data.html#cf.Data" title="cf.Data"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Data</span></code></a>
2089
+
construct’s data and the <aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.26)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a> array or <aclass="reference internal" href="class/cf.Data.html#cf.Data" title="cf.Data"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Data</span></code></a>
2090
2090
instance on the right hand side (RHS).</p></li>
2091
-
<li><p>If, however, the construct is on the RHS then a <aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.25)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a>
2091
+
<li><p>If, however, the construct is on the RHS then a <aclass="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.26)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">numpy</span></code></a>
2092
2092
array or <aclass="reference internal" href="class/cf.Data.html#cf.Data" title="cf.Data"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Data</span></code></a> instance (which ever type is on the
2093
2093
LHS) is returned, containing the same data as in the
constructs that are known to correspond, then setting “relaxed
2274
2274
identities” with the <aclass="reference internal" href="function/cf.relaxed_identities.html#cf.relaxed_identities" title="cf.relaxed_identities"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">cf.relaxed_identities</span></code></a> function may
property and netCDF variable name (see the <aclass="reference internal" href="tutorial.html#netcdf-interface"><spanclass="std std-ref">netCDF interface</span></a>), to also be considered when identifying
2277
2277
constructs.</p></li>
2278
2278
<li><p><strong>Option 3:</strong> Add more metadata to the field and metadata constructs.</p></li>
<li><p>Control the placement position of the filter window.</p></li>
2643
2643
</ul>
2644
-
<p>Note that the <aclass="reference external" href="https://docs.scipy.org/doc/scipy/reference/signal.windows.html#module-scipy.signal.windows" title="(in SciPy v1.11.2)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">scipy.signal.windows</span></code></a> package has suite of window
2644
+
<p>Note that the <aclass="reference external" href="https://docs.scipy.org/doc/scipy/reference/signal.windows.html#module-scipy.signal.windows" title="(in SciPy v1.11.3)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">scipy.signal.windows</span></code></a> package has suite of window
2645
2645
functions for creating window weights for filtering:</p>
<spanclass="pre">0.2]</span></code> will produce a non-weighted 5-point running mean; and window
2669
2669
weights of <codeclass="docutils literal notranslate"><spanclass="pre">[1,</span><spanclass="pre">1,</span><spanclass="pre">1,</span><spanclass="pre">1,</span><spanclass="pre">1]</span></code> will produce a 5-point running
2670
2670
sum. Note that the window weights returned by functions of the
2671
-
<aclass="reference external" href="https://docs.scipy.org/doc/scipy/reference/signal.windows.html#module-scipy.signal.windows" title="(in SciPy v1.11.2)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">scipy.signal.windows</span></code></a> package do not necessarily sum to 1.</p>
2671
+
<aclass="reference external" href="https://docs.scipy.org/doc/scipy/reference/signal.windows.html#module-scipy.signal.windows" title="(in SciPy v1.11.3)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">scipy.signal.windows</span></code></a> package do not necessarily sum to 1.</p>
2672
2672
<divclass="admonition note">
2673
2673
<pclass="admonition-title">Note</p>
2674
2674
<p>The <aclass="reference internal" href="method/cf.Field.moving_window.html#cf.Field.moving_window" title="cf.Field.moving_window"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">moving_window</span></code></a> method can not, in general, be
0 commit comments