cf functions¶
Version 3.6.0 for version 1.8 of the CF conventions.
Reading and writing¶
Read field constructs from netCDF, CDL, PP or UM fields files. |
|
Write field constructs to a netCDF file. |
|
Load a STASH to standard name conversion table. |
Aggregation¶
Aggregate field constructs into as few field constructs as possible. |
Mathematical operations¶
The tolerance on absolute differences when testing for numerically tolerant equality. |
|
The tolerance on relative differences when testing for numerically tolerant equality. |
|
Default data array fill values for each data type. |
|
Return the distribution of a set of variables in the form of an N-dimensional histogram. |
|
Calculate the relative vorticity using centred finite differences. |
|
|
Alias for |
|
Alias for |
Condition constructors¶
General conditions
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
Date-time conditions
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A customizable 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 chunksize used by LAMA for partitioning the data array. |
|
Which mode to use when collapse is run in parallel. |
|
The available physical memory. |
|
Set the fraction of memory kept free as a temporary workspace. |
|
The amount of memory which is kept free as a temporary work space. |
|
The amount of concurrently open files above which files containing data arrays may be automatically closed. |
|
Whether or not to enable ESMPy logging. |
|
Tune performance of parallelisation by setting chunksize and free memory factor. |
|
The directory for internally generated temporary files. |
|
TODO |
|
Close open files containing sub-arrays of data arrays. |
|
Close an arbitrary open file containing a sub-array of a data array. |
|
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. |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
Alias for |
|
|
|
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 an iterator over an arbitrarily nested sequence. |
|
Return the hash value of a numpy array. |
|
Return a container for the CF data model implementation. |
|
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. |
|
|
|
|
Alias for |
Alias for |