Package netCDF4
Version 1.7.0
+Version 1.7.2
Introduction
netcdf4-python is a Python interface to the netCDF C library.
netCDF version 4 has many features @@ -118,8 +121,8 @@
Creating/Opening/Closing a netCDF
If the file is open for write access (mode='w', 'r+' or 'a'), you may
write any type of data including new dimensions, groups, variables and
attributes.
-netCDF files come in five flavors (NETCDF3_CLASSIC,
-NETCDF3_64BIT_OFFSET, NETCDF3_64BIT_DATA, NETCDF4_CLASSIC<code>, and </code>NETCDF4).
+netCDF files come in five flavors (NETCDF3_CLASSIC,
+NETCDF3_64BIT_OFFSET, NETCDF3_64BIT_DATA, NETCDF4_CLASSIC, and NETCDF4).
NETCDF3_CLASSIC was the original netcdf binary format, and was limited
to file sizes less than 2 Gb. NETCDF3_64BIT_OFFSET was introduced
in version 3.6.0 of the library, and extended the original binary format
@@ -1261,7 +1264,7 @@ Functions
def get_alignment()
-
+get_alignment()
return current netCDF alignment within HDF5 files in a tuple
(threshold,alignment). See netcdf C library documentation for
nc_get_alignment for details. Values can be reset with
@@ -1272,7 +1275,7 @@
Functions
def get_chunk_cache()
-
+get_chunk_cache()
return current netCDF chunk cache information in a tuple (size,nelems,preemption).
See netcdf C library documentation for nc_get_chunk_cache for
details. Values can be reset with set_chunk_cache().
@@ -1281,7 +1284,7 @@ Functions
def getlibversion()
-
+getlibversion()
returns a string describing the version of the netcdf library
used to build the module, and when it was built.
@@ -1340,11 +1343,25 @@ Functions
do not contain a time-zone offset, even if the specified units
contains one.
+
+def rc_get(key)
+
+
+rc_get(key)
+Returns the internal netcdf-c rc table value corresponding to key.
+
+
+def rc_set(key, value)
+
+
+rc_set(key, value)
+Sets the internal netcdf-c rc table value corresponding to key.
+
def set_alignment(threshold, alignment)
-set_alignment()(threshold,alignment)
+set_alignment(threshold,alignment)
Change the HDF5 file alignment.
See netcdf C library documentation for nc_set_alignment for
details.
@@ -1354,7 +1371,7 @@ Functions
def set_chunk_cache(size=None, nelems=None, preemption=None)
-set_chunk_cache(self,size=None,nelems=None,preemption=None)
+set_chunk_cache(size=None,nelems=None,preemption=None)
change netCDF4 chunk cache settings.
See netcdf C library documentation for nc_set_chunk_cache for
details.
@@ -1415,12 +1432,12 @@ Classes
the user.
__init__(group, datatype, datatype_name)
CompoundType constructor.
-group: Group instance to associate with the compound datatype.
-datatype: A numpy dtype object describing a structured (a.k.a record)
+
grp: Group instance to associate with the compound datatype.
+dt: A numpy dtype object describing a structured (a.k.a record)
array.
Can be composed of homogeneous numeric or character data types, or
other structured array data types.
-datatype_name: a Python string containing a description of the
+
dtype_name: a Python string containing a description of the
compound data type.
Note 1: When creating nested compound data types,
the inner compound data types must already be associated with CompoundType
@@ -1433,15 +1450,15 @@
Instance variables
var dtype
-
-
Return an attribute of instance, which is of type owner.
+
var dtype_view
-
-
Return an attribute of instance, which is of type owner.
+
var name
-
-
Return an attribute of instance, which is of type owner.
+
@@ -1623,39 +1640,39 @@ Instance variables
var auto_complex
-
-
Return an attribute of instance, which is of type owner.
+
var cmptypes
-
-
Return an attribute of instance, which is of type owner.
+
var data_model
-
-
Return an attribute of instance, which is of type owner.
+
var dimensions
-
-
Return an attribute of instance, which is of type owner.
+
var disk_format
-
-
Return an attribute of instance, which is of type owner.
+
var enumtypes
-
-
Return an attribute of instance, which is of type owner.
+
var file_format
-
-
Return an attribute of instance, which is of type owner.
+
var groups
-
-
Return an attribute of instance, which is of type owner.
+
var keepweakref
-
-
Return an attribute of instance, which is of type owner.
+
var name
-
@@ -1663,19 +1680,19 @@
Instance variables
var parent
-
-
Return an attribute of instance, which is of type owner.
+
var path
-
-
Return an attribute of instance, which is of type owner.
+
var variables
-
-
Return an attribute of instance, which is of type owner.
+
var vltypes
-
-
Return an attribute of instance, which is of type owner.
+
Methods
@@ -2264,15 +2281,15 @@ Instance variables
var dtype
-
-
Return an attribute of instance, which is of type owner.
+
var enum_dict
-
-
Return an attribute of instance, which is of type owner.
+
var name
-
-
Return an attribute of instance, which is of type owner.
+
@@ -2476,11 +2493,11 @@ Instance variables
var dtype
-
-
Return an attribute of instance, which is of type owner.
+
var name
-
-
Return an attribute of instance, which is of type owner.
+
@@ -2668,15 +2685,15 @@ Instance variables
var always_mask
-
-
Return an attribute of instance, which is of type owner.
+
var auto_complex
-
-
Return an attribute of instance, which is of type owner.
+
var chartostring
-
-
Return an attribute of instance, which is of type owner.
+
var datatype
-
@@ -2691,11 +2708,11 @@
Instance variables
var dtype
-
-
Return an attribute of instance, which is of type owner.
+
var mask
-
-
Return an attribute of instance, which is of type owner.
+
var name
-
@@ -2703,11 +2720,11 @@
Instance variables
var ndim
-
-
Return an attribute of instance, which is of type owner.
+
var scale
-
-
Return an attribute of instance, which is of type owner.
+
var shape
-
@@ -3049,10 +3066,9 @@
Methods
get_alignment()
return current netCDF alignment within HDF5 files in a tuple
(threshold,alignment). See netcdf C library documentation for
nc_get_alignment for details. Values can be reset with
@@ -1272,7 +1275,7 @@
Functions
def get_chunk_cache()get_chunk_cache()
return current netCDF chunk cache information in a tuple (size,nelems,preemption).
See netcdf C library documentation for nc_get_chunk_cache for
details. Values can be reset with set_chunk_cache().
Functions
def getlibversion()getlibversion()
returns a string describing the version of the netcdf library used to build the module, and when it was built.
Functions
do not contain a time-zone offset, even if the specified units contains one.
+def rc_get(key)
+rc_get(key)
Returns the internal netcdf-c rc table value corresponding to key.
+def rc_set(key, value)
+rc_set(key, value)
Sets the internal netcdf-c rc table value corresponding to key.
def set_alignment(threshold, alignment)
set_alignment()(threshold,alignment)
set_alignment(threshold,alignment)
Change the HDF5 file alignment.
See netcdf C library documentation for nc_set_alignment for
details.
Functions
def set_chunk_cache(size=None, nelems=None, preemption=None)set_chunk_cache(self,size=None,nelems=None,preemption=None)
set_chunk_cache(size=None,nelems=None,preemption=None)
change netCDF4 chunk cache settings.
See netcdf C library documentation for nc_set_chunk_cache for
details.
Classes
the user.__init__(group, datatype, datatype_name)
CompoundType constructor.
-group: Group instance to associate with the compound datatype.
datatype: A numpy dtype object describing a structured (a.k.a record)
+
grp: Group instance to associate with the compound datatype.
dt: A numpy dtype object describing a structured (a.k.a record)
array.
Can be composed of homogeneous numeric or character data types, or
other structured array data types.
datatype_name: a Python string containing a description of the
+
dtype_name: a Python string containing a description of the
compound data type.
Note 1: When creating nested compound data types, the inner compound data types must already be associated with CompoundType @@ -1433,15 +1450,15 @@
Instance variables
var dtype-
-+
Return an attribute of instance, which is of type owner.
var dtype_view-
-+
Return an attribute of instance, which is of type owner.
var name-
-+
Return an attribute of instance, which is of type owner.
Instance variables
var auto_complex-
-+
Return an attribute of instance, which is of type owner.
var cmptypes-
-+
Return an attribute of instance, which is of type owner.
var data_model-
-+
Return an attribute of instance, which is of type owner.
var dimensions-
-+
Return an attribute of instance, which is of type owner.
var disk_format-
-+
Return an attribute of instance, which is of type owner.
var enumtypes-
-+
Return an attribute of instance, which is of type owner.
var file_format-
-+
Return an attribute of instance, which is of type owner.
var groups-
-+
Return an attribute of instance, which is of type owner.
var keepweakref-
-+
Return an attribute of instance, which is of type owner.
var name-
@@ -1663,19 +1680,19 @@
Instance variables
var parent-
-+
Return an attribute of instance, which is of type owner.
var path-
-+
Return an attribute of instance, which is of type owner.
var variables-
-+
Return an attribute of instance, which is of type owner.
var vltypes-
-+
Return an attribute of instance, which is of type owner.
Methods
@@ -2264,15 +2281,15 @@Instance variables
var dtype-
-+
Return an attribute of instance, which is of type owner.
var enum_dict-
-+
Return an attribute of instance, which is of type owner.
var name-
-+
Return an attribute of instance, which is of type owner.
Instance variables
var dtype-
-+
Return an attribute of instance, which is of type owner.
var name-
-+
Return an attribute of instance, which is of type owner.
Instance variables
var always_mask-
-+
Return an attribute of instance, which is of type owner.
var auto_complex-
-+
Return an attribute of instance, which is of type owner.
var chartostring-
-+
Return an attribute of instance, which is of type owner.
var datatype-
@@ -2691,11 +2708,11 @@
Instance variables
var dtype-
-+
Return an attribute of instance, which is of type owner.
var mask-
-+
Return an attribute of instance, which is of type owner.
var name-
@@ -2703,11 +2720,11 @@
Instance variables
var ndim-
-+
Return an attribute of instance, which is of type owner.
var scale-
-+
Return an attribute of instance, which is of type owner.
var shape-
@@ -3049,10 +3066,9 @@
Methods