wrf.pairs_to_latlon¶
- wrf.pairs_to_latlon(pairs)¶
Return latitude and longitude arrays from a sequence of
wrf.CoordPairobjects.This function converts a sequence of
wrf.CoordPairobjects into lists of latitude and longitude points. If the pairs argument is a singlewrf.CoordPairobject, then a single latitude and longitude value is returned.- Parameters:
pairs (
wrf.CoordPairor sequence) – A singlewrf.CoordPairor sequence ofwrf.CoordPair.- Returns:
A tuple of (lat, lon), where lat and lon are single values or lists of values.
- Return type: