Skip to content

Commit ccf549b

Browse files
committed
v3.3.7 latest documentation
1 parent e0d4847 commit ccf549b

34 files changed

+112
-101
lines changed

docs/Changelog.html

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939

40-
<h1 class="logo"><a href="index.html">cfunits 3.3.6</a></h1>
40+
<h1 class="logo"><a href="index.html">cfunits 3.3.7</a></h1>
4141

4242

4343

@@ -114,6 +114,15 @@ <h3>Related Topics</h3>
114114
<section id="change-log">
115115
<h1><strong>Change log</strong><a class="headerlink" href="#change-log" title="Permalink to this headline"></a></h1>
116116
<hr class="docutils" />
117+
<section id="version-3-3-7">
118+
<h2>Version 3.3.7<a class="headerlink" href="#version-3-3-7" title="Permalink to this headline"></a></h2>
119+
<p><strong>2024-04-23</strong></p>
120+
<ul class="simple">
121+
<li><p>Allow units to be defined by <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bytes</span></code></a>
122+
(<a class="reference external" href="https://github.com/NCAS-CMS/cfunits/issues/54">https://github.com/NCAS-CMS/cfunits/issues/54</a>)</p></li>
123+
</ul>
124+
</section>
125+
<hr class="docutils" />
117126
<section id="version-3-3-6">
118127
<h2>Version 3.3.6<a class="headerlink" href="#version-3-3-6" title="Permalink to this headline"></a></h2>
119128
<p><strong>2023-05-03</strong></p>
@@ -198,10 +207,10 @@ <h2>Version 3.2.9<a class="headerlink" href="#version-3-2-9" title="Permalink to
198207
<h2>Version 3.2.8<a class="headerlink" href="#version-3-2-8" title="Permalink to this headline"></a></h2>
199208
<p><strong>2020-07-02</strong></p>
200209
<ul class="simple">
201-
<li><p>Fixed bug that caused failure when an <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">int</span></code></a> or <a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">float</span></code></a> was input to
210+
<li><p>Fixed bug that caused failure when an <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">int</span></code></a> or <a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">float</span></code></a> was input to
202211
<a class="reference internal" href="generated/cfunits.Units.conform.html#cfunits.Units.conform" title="cfunits.Units.conform"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cfunits.Units.conform</span></code></a>
203212
(<a class="reference external" href="https://github.com/NCAS-CMS/cfunits/issues/9">https://github.com/NCAS-CMS/cfunits/issues/9</a>).</p></li>
204-
<li><p>Allowed <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code></a> and <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tuple</span></code></a> to be input to <a class="reference internal" href="generated/cfunits.Units.conform.html#cfunits.Units.conform" title="cfunits.Units.conform"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cfunits.Units.conform</span></code></a>
213+
<li><p>Allowed <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code></a> and <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tuple</span></code></a> to be input to <a class="reference internal" href="generated/cfunits.Units.conform.html#cfunits.Units.conform" title="cfunits.Units.conform"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cfunits.Units.conform</span></code></a>
205214
(<a class="reference external" href="https://github.com/NCAS-CMS/cfunits/issues/9">https://github.com/NCAS-CMS/cfunits/issues/9</a>).</p></li>
206215
</ul>
207216
</section>
@@ -375,7 +384,7 @@ <h2>Version 1.0<a class="headerlink" href="#version-1-0" title="Permalink to thi
375384
<div class="clearer"></div>
376385
</div>
377386
<div class="footer">
378-
&copy;2023, NCAS | Page built on 2023-05-03.
387+
&copy;2024, NCAS | Page built on 2024-04-23.
379388

380389
|
381390
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '3.3.6',
3+
VERSION: '3.3.7',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/_static/pygments.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
2222
.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */
2323
.highlight .gd { color: #a40000 } /* Generic.Deleted */
2424
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
25+
.highlight .ges { color: #000000 } /* Generic.EmphStrong */
2526
.highlight .gr { color: #ef2929 } /* Generic.Error */
2627
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
2728
.highlight .gi { color: #00A000 } /* Generic.Inserted */

docs/api_reference.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939

40-
<h1 class="logo"><a href="index.html">cfunits 3.3.6</a></h1>
40+
<h1 class="logo"><a href="index.html">cfunits 3.3.7</a></h1>
4141

4242

4343

@@ -114,7 +114,7 @@ <h3>Related Topics</h3>
114114
<section id="api-reference">
115115
<h1><strong>API reference</strong><a class="headerlink" href="#api-reference" title="Permalink to this headline"></a></h1>
116116
<hr class="docutils" />
117-
<p>Version 3.3.6 for CF-1.10</p>
117+
<p>Version 3.3.7 for CF-1.11</p>
118118
<div class="toctree-wrapper compound">
119119
<ul>
120120
<li class="toctree-l1"><a class="reference internal" href="cfunits.Units.html"><strong>cfunits.Units</strong></a><ul>
@@ -135,7 +135,7 @@ <h1><strong>API reference</strong><a class="headerlink" href="#api-reference" ti
135135
<div class="clearer"></div>
136136
</div>
137137
<div class="footer">
138-
&copy;2023, NCAS | Page built on 2023-05-03.
138+
&copy;2024, NCAS | Page built on 2024-04-23.
139139

140140
|
141141
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/cfunits.Units.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939

40-
<h1 class="logo"><a href="index.html">cfunits 3.3.6</a></h1>
40+
<h1 class="logo"><a href="index.html">cfunits 3.3.7</a></h1>
4141

4242

4343

@@ -117,8 +117,8 @@ <h3>Related Topics</h3>
117117
<h1><strong>cfunits.Units</strong><a class="headerlink" href="#cfunits-units" title="Permalink to this headline"></a></h1>
118118
<dl class="class">
119119
<dt id="cfunits.Units">
120-
<em class="property">class </em><code class="sig-prename descclassname">cfunits.</code><code class="sig-name descname">Units</code><span class="sig-paren">(</span><em class="sig-param">units=None</em>, <em class="sig-param">calendar=None</em>, <em class="sig-param">formatted=False</em>, <em class="sig-param">names=False</em>, <em class="sig-param">definition=False</em>, <em class="sig-param">_ut_unit=None</em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/NCAS-CMS/cfunits/blob/v3.3.6/cfunits/units.py#L467"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cfunits.Units" title="Permalink to this definition"></a></dt>
121-
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.11)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
120+
<em class="property">class </em><code class="sig-prename descclassname">cfunits.</code><code class="sig-name descname">Units</code><span class="sig-paren">(</span><em class="sig-param">units=None</em>, <em class="sig-param">calendar=None</em>, <em class="sig-param">formatted=False</em>, <em class="sig-param">names=False</em>, <em class="sig-param">definition=False</em>, <em class="sig-param">_ut_unit=None</em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/NCAS-CMS/cfunits/blob/v3.3.7/cfunits/units.py#L467"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cfunits.Units" title="Permalink to this definition"></a></dt>
121+
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
122122
<p>Utilities for working with physical units.</p>
123123
<p>Store, combine and compare physical units and convert numeric
124124
values to different units.</p>
@@ -267,7 +267,7 @@ <h1><strong>cfunits.Units</strong><a class="headerlink" href="#cfunits-units" ti
267267
<span class="gp">&gt;&gt;&gt; </span><span class="n">u</span><span class="o">.</span><span class="n">calendar</span>
268268
<span class="gt">Traceback (most recent call last):</span>
269269
<span class="w"> </span><span class="o">...</span>
270-
<span class="gr">AttributeError</span>: <span class="n">Units has no attribute &#39;calendar&#39;</span>
270+
<span class="gr">AttributeError</span>: <span class="n">Units has no attribute &#39;calendar&#39;...</span>
271271
<span class="gp">&gt;&gt;&gt; </span><span class="n">v</span> <span class="o">=</span> <span class="n">Units</span><span class="p">(</span><span class="s1">&#39;days since 2000-1-1&#39;</span><span class="p">,</span> <span class="s1">&#39;standard&#39;</span><span class="p">)</span>
272272
<span class="gp">&gt;&gt;&gt; </span><span class="n">v</span><span class="o">.</span><span class="n">calendar</span>
273273
<span class="go">&#39;standard&#39;</span>
@@ -357,20 +357,20 @@ <h1><strong>cfunits.Units</strong><a class="headerlink" href="#cfunits-units" ti
357357
<dl class="field-list simple">
358358
<dt class="field-odd">Parameters</dt>
359359
<dd class="field-odd"><dl class="simple">
360-
<dt>units: <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code></a> or <a class="reference internal" href="#cfunits.Units" title="cfunits.Units"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Units</span></code></a>, optional</dt><dd><p>Set the new units from this string.</p>
360+
<dt>units: <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code></a> or <a class="reference internal" href="#cfunits.Units" title="cfunits.Units"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Units</span></code></a>, optional</dt><dd><p>Set the new units from this string.</p>
361361
</dd>
362-
<dt>calendar: <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code></a>, optional</dt><dd><p>Set the calendar for reference time units.</p>
362+
<dt>calendar: <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code></a>, optional</dt><dd><p>Set the calendar for reference time units.</p>
363363
</dd>
364-
<dt>formatted: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units in a
364+
<dt>formatted: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units in a
365365
standardized manner. See the <a class="reference internal" href="generated/cfunits.Units.formatted.html#cfunits.Units.formatted" title="cfunits.Units.formatted"><code class="xref py py-obj docutils literal notranslate"><span class="pre">formatted</span></code></a> method.</p>
366366
</dd>
367-
<dt>names: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units using names
367+
<dt>names: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units using names
368368
instead of symbols. See the <a class="reference internal" href="generated/cfunits.Units.formatted.html#cfunits.Units.formatted" title="cfunits.Units.formatted"><code class="xref py py-obj docutils literal notranslate"><span class="pre">formatted</span></code></a> method.</p>
369369
</dd>
370-
<dt>definition: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units using basic
370+
<dt>definition: <a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></a>, optional</dt><dd><p>Format the string representation of the units using basic
371371
units. See the <a class="reference internal" href="generated/cfunits.Units.formatted.html#cfunits.Units.formatted" title="cfunits.Units.formatted"><code class="xref py py-obj docutils literal notranslate"><span class="pre">formatted</span></code></a> method.</p>
372372
</dd>
373-
<dt>_ut_unit: <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">int</span></code></a>, optional</dt><dd><p>Set the new units from this Udunits binary unit
373+
<dt>_ut_unit: <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">int</span></code></a>, optional</dt><dd><p>Set the new units from this Udunits binary unit
374374
representation. This should be an integer returned by a
375375
call to <code class="xref py py-obj docutils literal notranslate"><span class="pre">ut_parse</span></code> function of Udunits. Ignored if <em>units</em>
376376
is set.</p>
@@ -480,7 +480,7 @@ <h2>Units static methods<a class="headerlink" href="#units-static-methods" title
480480
<div class="clearer"></div>
481481
</div>
482482
<div class="footer">
483-
&copy;2023, NCAS | Page built on 2023-05-03.
483+
&copy;2024, NCAS | Page built on 2024-04-23.
484484

485485
|
486486
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/contributing.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737

3838

39-
<h1 class="logo"><a href="index.html">cfunits 3.3.6</a></h1>
39+
<h1 class="logo"><a href="index.html">cfunits 3.3.7</a></h1>
4040

4141

4242

@@ -112,7 +112,7 @@ <h3>Related Topics</h3>
112112
<section id="contributing">
113113
<span id="id1"></span><h1><strong>Contributing</strong><a class="headerlink" href="#contributing" title="Permalink to this headline"></a></h1>
114114
<hr class="docutils" />
115-
<p>Version 3.3.6 for CF-1.10</p>
115+
<p>Version 3.3.7 for CF-1.11</p>
116116
<div class="contents local topic" id="contents">
117117
<ul class="simple">
118118
<li><p><a class="reference internal" href="#reporting-bugs" id="id2"><strong>Reporting bugs</strong></a></p></li>
@@ -215,7 +215,7 @@ <h2><a class="toc-backref" href="#id6"><strong>Contributors</strong></a><a class
215215
<div class="clearer"></div>
216216
</div>
217217
<div class="footer">
218-
&copy;2023, NCAS | Page built on 2023-05-03.
218+
&copy;2024, NCAS | Page built on 2024-04-23.
219219

220220
|
221221
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/generated/_templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737

38-
<h1 class="logo"><a href="../../index.html">cfunits 3.3.6</a></h1>
38+
<h1 class="logo"><a href="../../index.html">cfunits 3.3.7</a></h1>
3939

4040

4141

@@ -118,7 +118,7 @@ <h3>Related Topics</h3>
118118
<div class="clearer"></div>
119119
</div>
120120
<div class="footer">
121-
&copy;2023, NCAS | Page built on 2023-05-03.
121+
&copy;2024, NCAS | Page built on 2024-04-23.
122122

123123
|
124124
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/generated/_templates/cfbase.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737

38-
<h1 class="logo"><a href="../../index.html">cfunits 3.3.6</a></h1>
38+
<h1 class="logo"><a href="../../index.html">cfunits 3.3.7</a></h1>
3939

4040

4141

@@ -118,7 +118,7 @@ <h3>Related Topics</h3>
118118
<div class="clearer"></div>
119119
</div>
120120
<div class="footer">
121-
&copy;2023, NCAS | Page built on 2023-05-03.
121+
&copy;2024, NCAS | Page built on 2024-04-23.
122122

123123
|
124124
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

docs/generated/cfunits.Units.calendar.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939

40-
<h1 class="logo"><a href="../index.html">cfunits 3.3.6</a></h1>
40+
<h1 class="logo"><a href="../index.html">cfunits 3.3.7</a></h1>
4141

4242

4343

@@ -136,7 +136,7 @@ <h1>cfunits.Units.calendar<a class="headerlink" href="#cfunits-units-calendar" t
136136
<span class="gp">&gt;&gt;&gt; </span><span class="n">Units</span><span class="p">(</span><span class="s1">&#39;days since 2001-1-1&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">calendar</span>
137137
<span class="gt">Traceback (most recent call last):</span>
138138
<span class="w"> </span><span class="o">...</span>
139-
<span class="gr">AttributeError</span>: <span class="n">Units has no attribute &#39;calendar&#39;</span>
139+
<span class="gr">AttributeError</span>: <span class="n">Units has no attribute &#39;calendar&#39;...</span>
140140
</pre></div>
141141
</div>
142142
</dd></dl>
@@ -151,7 +151,7 @@ <h1>cfunits.Units.calendar<a class="headerlink" href="#cfunits-units-calendar" t
151151
<div class="clearer"></div>
152152
</div>
153153
<div class="footer">
154-
&copy;2023, NCAS | Page built on 2023-05-03.
154+
&copy;2024, NCAS | Page built on 2024-04-23.
155155

156156
|
157157
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.5</a>

0 commit comments

Comments
 (0)