cf functions¶
Version 3.15.3 for version 1.10 of the CF conventions.
Reading and writing¶
Read field or domain constructs from files. |
|
Write field constructs to a netCDF file. |
Aggregation¶
Aggregate field constructs into as few field constructs as possible. |
|
Return a climatological cells dictionary for |
Mathematical operations¶
The numerical equality tolerance on absolute differences. |
|
The numerical equality tolerance on relative differences. |
|
Determine how to deal with cell bounds in binary operations. |
|
Default data array fill values for each data type. |
|
Calculate the horizontal curl of an (X, Y) vector. |
|
Calculate the horizontal divergence of an (X, Y) vector. |
|
Return the distribution of a set of variables in the form of an N-dimensional histogram. |
|
Alias for |
|
Alias for |
Condition constructors¶
General conditions
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
Date-time conditions
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A customisable list of |
Coordinate cell conditions
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
Date-time and time duration¶
Return a date-time object for a date and time according to a calendar. |
|
Return a 1-d array of date-time objects. |
|
Return a time duration of calendar years in a |
|
Return a time duration of calendar months in a |
|
Return a time duration of days in a |
|
Return a time duration of hours in a |
|
Return a time duration of minutes in a |
|
Return a time duration of seconds in a |
Resource management¶
View or set any number of constants in the project-wide configuration. |
|
Set the default chunksize used by |
|
The available physical memory. |
|
Whether or not to enable |
|
The directory for internally generated temporary files. |
|
The total amount of physical memory (in bytes). |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
Miscellaneous¶
The version of the CF conventions. |
|
Return a normalized absolute version of a file name. |
|
Return the directory name of a file. |
|
Print a description of an object. |
|
Return the names and versions of the cf package and its dependencies. |
|
Return an example field construct. |
|
Return example field constructs. |
|
Return an example domain construct. |
|
Return an iterator over an arbitrarily nested sequence. |
|
Return a container for the CF data model implementation. |
|
Return the shape of the array subspace implied by indices. |
|
Inspect the attributes of an object. |
|
The minimal level of seriousness of log messages which are shown. |
|
Join two file path components intelligently. |
|
Use ‘relaxed’ mode when getting a construct identity. |
|
Return a relative filepath to a file. |
|
Load a STASH to standard name conversion table from a file. |
|
Return a copy of the loaded STASH to standard name conversion table. |
|
Return the unique constructs from a sequence. |
|
Alias for |
|
Alias for |
Deprecated¶
Close open files containing sub-arrays of data arrays. |
|
Close an arbitrary open file containing a sub-array of a data array. |
|
Which mode to use when collapse is run in parallel. |
|
The amount of memory which is kept free as a temporary work space. |
|
Set the fraction of memory kept free as a temporary workspace. |
|
Return a hash value of a numpy array. |
|
The minimum total memory across nodes. |
|
The amount of concurrently open files above which files containing data arrays may be automatically closed. |
|
Return the open files containing sub-arrays of master data arrays. |
|
Return True if the total number of open files is greater than the current threshold. |
|
Calculate the relative vorticity using centred finite differences. |
|
Tune performance of parallelisation. |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |