cfdm.NodeCountProperties¶
- class cfdm.NodeCountProperties(properties=None, source=None, copy=True)[source]¶
Bases:
NetCDFVariable,Properties,Files,PropertiesProperties for a netCDF node count variable.
NetCDF interface
The netCDF variable name may be accessed with the
nc_set_variable,nc_get_variable,nc_del_variable, andnc_has_variablemethods.The netCDF variable group structure may be accessed with the
nc_set_variable,nc_get_variable,nc_variable_groups,nc_clear_variable_groups, andnc_set_variable_groupsmethods.Added in version (cfdm): 1.8.0
Initialisation
- Parameters:
- properties:
dict, optional Set descriptive properties. The dictionary keys are property names, with corresponding values.
Properties may also be set after initialisation with the
set_propertiesandset_propertymethods.- Parameter example:
properties={'standard_name': 'altitude'}
- source: optional
Convert source, which can be any type of object, to a
NodeCountPropertiesinstance.All other parameters, apart from copy, are ignored and their values are instead inferred from source by assuming that it has the
NodeCountPropertiesAPI. Any parameters that can not be retrieved from source in this way are assumed to have their default value.Note that if
xis also aNodeCountPropertiesinstance thencfdm.NodeCountProperties(source=x)is equivalent tox.copy().- copy:
bool, optional If True (the default) then deep copy the input parameters prior to initialisation. By default the parameters are not deep copied.
- properties:
Methods¶
Methods
Remove all properties. |
|
Return a deep copy. |
|
Return the commands that would create the construct. |
|
Remove properties. |
|
Remove a property. |
|
A full description of the node count variable. |
|
Whether two instances are the same. |
|
The names of files containing the original data and metadata. |
|
Return a property. |
|
Whether or not there are cell bounds. |
|
Whether or not the construct has data. |
|
Whether a property has been set. |
|
Return all possible identities. |
|
Return the canonical identity. |
|
Remove the netCDF variable group hierarchy. |
|
Remove the netCDF variable name. |
|
Return the netCDF variable name. |
|
Whether the netCDF variable name has been set. |
|
Set the netCDF variable name. |
|
Set the netCDF variable group hierarchy. |
|
Return the netCDF variable group hierarchy. |
|
Return all properties. |
|
Set properties. |
|
Set a property. |