Return a :obj:`tuple` for the variable names of the coordinate pair used for the 2D curvilinear coordinate variable. For example, the 'XLAT' variable will have coordinate variables of ('XLAT', 'XLONG') since the 'XLAT' variable itself is two-dimensional. Args: coord_varnam
(coord_varname)
| 82 | |
| 83 | |
| 84 | def get_coord_pairs(coord_varname): |
| 85 | """Return a :obj:`tuple` for the variable names of the coordinate pair used |
| 86 | for the 2D curvilinear coordinate variable. |
| 87 | |
| 88 | For example, the 'XLAT' variable will have coordinate variables of |
| 89 | ('XLAT', 'XLONG') since the 'XLAT' variable itself is two-dimensional. |
| 90 | |
| 91 | Args: |
| 92 | |
| 93 | coord_varname (:obj:`str`): The coordinate variable name. |
| 94 | |
| 95 | Returns: |
| 96 | |
| 97 | :obj:`bool`: True if the time index is :data:`wrf.ALL_TIMES` or |
| 98 | :obj:`None`, otherwise False. |
| 99 | |
| 100 | """ |
| 101 | return _COORD_PAIR_MAP[coord_varname] |
| 102 | |
| 103 | |
| 104 | def is_multi_time_req(timeidx): |