wrf.get_coord_pairs

wrf.get_coord_pairs(coord_varname)

Return a 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.

Parameters:coord_varname (str) – The coordinate variable name.
Returns:True if the time index is wrf.ALL_TIMES or None, otherwise False.
Return type:bool