Bases: cf.utils.CfList
An ordered sequence of variables stored in a single, list-like object. Refer to Variable Lists in the cf package for details.
Methods and attributes defined here:
CFL.copy() -> a deep copy of CFL
CFL.count(value) -> integer – return number of occurrences of value
Uses numerically tolerant equality.
Delete a private attribute from each element of the list of variables.
Delete a public attribute from each element of the list of variables.
Return the list of variables which match the given phenomena, with only exact phenomenon names allowed.
Return a built-in list of the result of the match on each element of the list of variables, with only exact phenomenon names allowed.
Return True if two lists are congruent in that each pair of their elements are equal.
Numerical equality is to within a tolerance. Refer to cf for details.
Parameters: |
|
---|---|
Returns: | True if the two objects are congruent, False otherwise. |
Return the list of variables which match the given phenomena, with unambiguous abbreviations of phenomenon names allowed.
Return a built-in list of the private attributes of each element of the list of variables.
Return a built-in list of the public attributes of each element of the list of variables.
CFL.index(value, [start, [stop]]) -> integer – return first index of value
Uses numerically tolerant equality.
CFL.insert(index, object) – insert object before index
Return a built-in list of the result of the match on each element of the list of variables, with unambiguous abbreviations of phenomenon names allowed.
Return a built-in list of the names of each element of the list of variables.
Set a private attribute from each element of the list of variables or return a built-in list of the private attributes of each element of the list of variables.
Set a public attribute from each element of the list of variables or return a built-in list of the public attributes of each element of the list of variables.
Set a private attribute on each element of the list of variables.
Set a public attribute from each element of the list of variables.
Slice each variable in the list, returning a new list of variables.
Examples:
>>> vl
[<CF Variable: air_temperature(73, 96)>,
<CF Variable: air_temperature(73, 96)>]
>>> vl.slice[0,0]
[<CF Variable: air_temperature(1,1)>,
<CF Variable: air_temperature(1,1)>]