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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@
10
10
## News
11
11
For details on the latest updates, see the [Changelog](https://github.com/Unidata/netcdf4-python/blob/master/Changelog).
12
12
13
+
6/22/2021: Version [1.5.7](https://pypi.python.org/pypi/netCDF4/1.5.7) released.
14
+
Fixed OverflowError on Windows when reading data with dimension sizes greater than 2**32-1.
15
+
Masked arrays no longer returned for vlens.
16
+
13
17
2/15/2021: Version [1.5.6](https://pypi.python.org/pypi/netCDF4/1.5.6) released. Added `Dataset.fromcdl` and `Dataset.tocdl`, which require `ncdump` and `ncgen` utilities to be in `$PATH`. Removed python 2.7 support.
14
18
15
19
12/20/2020: Version [1.5.5.1](https://pypi.python.org/pypi/netCDF4/1.5.5.1) released.
@@ -987,8 +985,9 @@ <h2 id="writing-data-to-and-retrieving-data-from-a-netcdf-variable">Writing data
987
985
The result will be a numpy scalar array.</p>
988
986
989
987
<p>By default, netcdf4-python returns numpy masked arrays with values equal to the
990
-
<code>missing_value</code> or <code>_FillValue</code> variable attributes masked. The
991
-
<code><ahref="#Dataset.set_auto_mask">Dataset.set_auto_mask</a></code><code><ahref="#Dataset">Dataset</a></code> and <code><ahref="#Variable">Variable</a></code> methods
988
+
<code>missing_value</code> or <code>_FillValue</code> variable attributes masked for primitive and
989
+
enum data types.
990
+
The <code><ahref="#Dataset.set_auto_mask">Dataset.set_auto_mask</a></code><code><ahref="#Dataset">Dataset</a></code> and <code><ahref="#Variable">Variable</a></code> methods
992
991
can be used to disable this feature so that
993
992
numpy arrays are always returned, with the missing values included. Prior to
994
993
version 1.4.0 the default behavior was to only return masked arrays when the
<p>Call <code><ahref="#Variable.set_auto_mask">Variable.set_auto_mask</a></code> for all variables contained in this <code><ahref="#Dataset">Dataset</a></code> or
2406
-
<code><ahref="#Group">Group</a></code>, as well as for all variables in all its subgroups.</p>
2405
+
<code><ahref="#Group">Group</a></code>, as well as for all variables in all its subgroups. Only affects
2406
+
Variables with primitive or enum types (not compound or vlen Variables).</p>
2407
2407
2408
2408
<p><strong><code>True_or_False</code></strong>: Boolean determining if automatic conversion to masked arrays
<p><strong><code><ahref="#Variable.mask">mask</a></code></strong>: If True, data is automatically converted to/from masked
2745
2745
arrays when missing values or fill values are present. Default is <code>True</code>, can be
2746
2746
reset using <code><ahref="#Variable.set_auto_mask">Variable.set_auto_mask</a></code> and <code><ahref="#Variable.set_auto_maskandscale">Variable.set_auto_maskandscale</a></code>
2747
-
methods.</p>
2747
+
methods. Only relevant for Variables with primitive or enum types (ignored
2748
+
for compound and vlen Variables).</p>
2748
2749
2749
2750
<p><strong><code><ahref="#Variable.chartostring">chartostring</a></code></strong>: If True, data is automatically converted to/from character
2750
2751
arrays to string arrays when the <code>_Encoding</code> variable attribute is set.
0 commit comments