Skip to content

Commit 64529bd

Browse files
committed
v3.16.0 documentation
1 parent 366b6c4 commit 64529bd

24 files changed

+407
-995
lines changed

docs/_images/cfdm_field.svg

Lines changed: 1 addition & 317 deletions
Loading

docs/_sources/cf_data_model.rst.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
----
1616

17+
Version |release| for version |version| of the CF conventions.
18+
1719
The CF (Climate and Forecast) metadata conventions
1820
(http://cfconventions.org) provide a description of the physical
1921
meaning of data and of their spatial and temporal properties and are
@@ -90,11 +92,19 @@ all of its metadata. It is defined as follows:
9092
cell measure constructs
9193
corresponding to CF-netCDF cell measure variables
9294

95+
domain topology constructs
96+
corresponding to CF-netCDF UGRID mesh topology variables
97+
98+
cell connectivity constructs
99+
corresponding to CF-netCDF UGRID connectivity variables
100+
93101
----
94102

103+
95104
|
96105
97106
.. figure:: images/cfdm_field.svg
98-
:scale: 8 %
99107

100108
*The constructs of the CF data model described using UML. The field construct corresponds to a CF-netCDF data variable. The domain construct provides the linkage between the field construct and the constructs which describe measurement locations and cell properties. It is useful to define an abstract generic coordinate construct that can be used to refer to coordinates when the their type (dimension or auxiliary coordinate construct) is not an issue.*
109+
110+
----

docs/cf_data_model.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ <h3>Related Topics</h3>
130130
<style> .small {font-size:small} </style><section id="cf-data-model">
131131
<span id="id1"></span><h1><strong>CF data model</strong><a class="headerlink" href="#cf-data-model" title="Permalink to this headline"></a></h1>
132132
<hr class="docutils" />
133+
<p>Version 3.16.0 for version 1.11 of the CF conventions.</p>
133134
<p>The CF (Climate and Forecast) metadata conventions
134135
(<a class="reference external" href="http://cfconventions.org">http://cfconventions.org</a>) provide a description of the physical
135136
meaning of data and of their spatial and temporal properties and are
@@ -188,6 +189,10 @@ <h3>Related Topics</h3>
188189
</dd>
189190
<dt id="term-cell-measure-constructs">cell measure constructs</dt><dd><p>corresponding to CF-netCDF cell measure variables</p>
190191
</dd>
192+
<dt id="term-domain-topology-constructs">domain topology constructs</dt><dd><p>corresponding to CF-netCDF UGRID mesh topology variables</p>
193+
</dd>
194+
<dt id="term-cell-connectivity-constructs">cell connectivity constructs</dt><dd><p>corresponding to CF-netCDF UGRID connectivity variables</p>
195+
</dd>
191196
</dl>
192197
</dd>
193198
</dl>
@@ -196,11 +201,11 @@ <h3>Related Topics</h3>
196201
<div class="line"><br /></div>
197202
</div>
198203
<figure class="align-default" id="id2">
199-
<a class="reference internal image-reference" href="_images/cfdm_field.svg"><img alt="_images/cfdm_field.svg" height="810.24" src="_images/cfdm_field.svg" width="606.72" /></a>
200-
<figcaption>
204+
<img alt="_images/cfdm_field.svg" src="_images/cfdm_field.svg" /><figcaption>
201205
<p><span class="caption-text"><em>The constructs of the CF data model described using UML. The field construct corresponds to a CF-netCDF data variable. The domain construct provides the linkage between the field construct and the constructs which describe measurement locations and cell properties. It is useful to define an abstract generic coordinate construct that can be used to refer to coordinates when the their type (dimension or auxiliary coordinate construct) is not an issue.</em></span><a class="headerlink" href="#id2" title="Permalink to this image"></a></p>
202206
</figcaption>
203207
</figure>
208+
<hr class="docutils" />
204209
</section>
205210

206211

docs/genindex.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,8 @@ <h2 id="C">C</h2>
24652465
<li><a href="method/cf.List.ceil.html#cf.List.ceil">(cf.List method)</a>
24662466
</li>
24672467
</ul></li>
2468+
<li><a href="cf_data_model.html#term-cell-connectivity-constructs"><strong>cell connectivity constructs</strong></a>
2469+
</li>
24682470
<li><a href="cf_data_model.html#term-cell-measure-constructs"><strong>cell measure constructs</strong></a>
24692471
</li>
24702472
<li><a href="cf_data_model.html#term-cell-method-constructs"><strong>cell method constructs</strong></a>
@@ -3814,6 +3816,8 @@ <h2 id="D">D</h2>
38143816
<li><a href="cf_data_model.html#term-domain-axis-constructs"><strong>domain axis constructs</strong></a>
38153817
</li>
38163818
<li><a href="cf_data_model.html#term-domain-construct"><strong>domain construct</strong></a>
3819+
</li>
3820+
<li><a href="cf_data_model.html#term-domain-topology-constructs"><strong>domain topology constructs</strong></a>
38173821
</li>
38183822
<li><a href="method/cf.Domain.domain_anc.html#cf.Domain.domain_anc">domain_anc() (cf.Domain method)</a>
38193823

docs/objects.inv

24 Bytes
Binary file not shown.

docs/recipes/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@
88

99

1010

11+
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
1126

1227

1328

docs/recipes/plot_01_recipe.html

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

docs/recipes/plot_02_recipe.html

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

docs/recipes/plot_03_recipe.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ <h3>Related Topics</h3>
148148
<ol class="arabic simple" start="2">
149149
<li><p>Read the field constructs:</p></li>
150150
</ol>
151-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a> <span class="o">=</span> <a href="../function/cf.read.html#cf.read" title="cf.read" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-function"><span class="n">cf</span><span class="o">.</span><span class="n">read</span></a><span class="p">(</span><span class="s2">&quot;~/recipes/cru_ts4.06.1901.2021.tmp.dat.nc&quot;</span><span class="p">)</span>
152-
<span class="nb">print</span><span class="p">(</span><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a><span class="p">)</span>
151+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a></a> <span class="o">=</span> <a href="../function/cf.read.html#cf.read" title="cf.read" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-function"><a href="../function/cf.read.html#cf.read" title="cf.read" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-function"><span class="n">cf</span><span class="o">.</span><span class="n">read</span></a></a><span class="p">(</span><span class="s2">&quot;~/recipes/cru_ts4.06.1901.2021.tmp.dat.nc&quot;</span><span class="p">)</span>
152+
<span class="nb">print</span><span class="p">(</span><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a></a><span class="p">)</span>
153153
</pre></div>
154154
</div>
155155
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[&lt;CF Field: ncvar%stn(long_name=time(1452), long_name=latitude(360), long_name=longitude(720))&gt;,
@@ -159,8 +159,8 @@ <h3>Related Topics</h3>
159159
<ol class="arabic simple" start="3">
160160
<li><p>Select near surface temperature by index and look at its contents:</p></li>
161161
</ol>
162-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">temp</span></a> <span class="o">=</span> <a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a><span class="p">[</span><span class="mi">1</span><span class="p">]</span>
163-
<span class="nb">print</span><span class="p">(</span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">temp</span></a><span class="p">)</span>
162+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">temp</span></a></a> <span class="o">=</span> <a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.FieldList.html#cf.FieldList" title="cf.FieldList" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">f</span></a></a><span class="p">[</span><span class="mi">1</span><span class="p">]</span>
163+
<span class="nb">print</span><span class="p">(</span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">temp</span></a></a><span class="p">)</span>
164164
</pre></div>
165165
</div>
166166
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Field: long_name=near-surface temperature (ncvar%tmp)
@@ -174,13 +174,13 @@ <h3>Related Topics</h3>
174174
<ol class="arabic simple" start="4">
175175
<li><p>Average the monthly mean surface temperature values by the time axis using the collapse method:</p></li>
176176
</ol>
177-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">global_avg</span></a> <span class="o">=</span> <a href="../method/cf.Field.collapse.html#cf.Field.collapse" title="cf.Field.collapse" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-method"><span class="n">temp</span><span class="o">.</span><span class="n">collapse</span></a><span class="p">(</span><span class="s2">&quot;mean&quot;</span><span class="p">,</span> <span class="n">axes</span><span class="o">=</span><span class="s2">&quot;long_name=time&quot;</span><span class="p">)</span>
177+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">global_avg</span></a></a> <span class="o">=</span> <a href="../method/cf.Field.collapse.html#cf.Field.collapse" title="cf.Field.collapse" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-method"><a href="../method/cf.Field.collapse.html#cf.Field.collapse" title="cf.Field.collapse" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-method"><span class="n">temp</span><span class="o">.</span><span class="n">collapse</span></a></a><span class="p">(</span><span class="s2">&quot;mean&quot;</span><span class="p">,</span> <span class="n">axes</span><span class="o">=</span><span class="s2">&quot;long_name=time&quot;</span><span class="p">)</span>
178178
</pre></div>
179179
</div>
180180
<ol class="arabic simple" start="5">
181181
<li><p>Plot the global mean surface temperatures:</p></li>
182182
</ol>
183-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="https://ajheaps.github.io/cf-plot/con.html#cfplot.con" title="cfplot.con" class="sphx-glr-backref-module-cfplot sphx-glr-backref-type-py-function"><span class="n">cfp</span><span class="o">.</span><span class="n">con</span></a><span class="p">(</span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">global_avg</span></a><span class="p">,</span> <span class="n">lines</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">title</span><span class="o">=</span><span class="s2">&quot;Global mean surface temperature&quot;</span><span class="p">)</span>
183+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><a href="https://ajheaps.github.io/cf-plot/con.html#cfplot.con" title="cfplot.con" class="sphx-glr-backref-module-cfplot sphx-glr-backref-type-py-function"><a href="https://ajheaps.github.io/cf-plot/con.html#cfplot.con" title="cfplot.con" class="sphx-glr-backref-module-cfplot sphx-glr-backref-type-py-function"><span class="n">cfp</span><span class="o">.</span><span class="n">con</span></a></a><span class="p">(</span><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><a href="../class/cf.Field.html#cf.Field" title="cf.Field" class="sphx-glr-backref-module-cf sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">global_avg</span></a></a><span class="p">,</span> <span class="n">lines</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">title</span><span class="o">=</span><span class="s2">&quot;Global mean surface temperature&quot;</span><span class="p">)</span>
184184
</pre></div>
185185
</div>
186186
<img src="../_images/sphx_glr_plot_03_recipe_001.png" srcset="../_images/sphx_glr_plot_03_recipe_001.png" alt="plot 03 recipe" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 8.465 seconds)</p>

0 commit comments

Comments
 (0)