Return True if the input variable name is a time coordinate. Args: varname (:obj:`str`): The input variable name. Returns: :obj:`bool`: True if the input variable is a time coordinate, otherwise False.
(varname)
| 66 | |
| 67 | |
| 68 | def is_time_coord_var(varname): |
| 69 | """Return True if the input variable name is a time coordinate. |
| 70 | |
| 71 | Args: |
| 72 | |
| 73 | varname (:obj:`str`): The input variable name. |
| 74 | |
| 75 | Returns: |
| 76 | |
| 77 | :obj:`bool`: True if the input variable is a time coordinate, |
| 78 | otherwise False. |
| 79 | |
| 80 | """ |
| 81 | return varname in _TIME_COORD_VARS |
| 82 | |
| 83 | |
| 84 | def get_coord_pairs(coord_varname): |
no outgoing calls
no test coverage detected