wrf.latlon_coordvars¶
-
wrf.
latlon_coordvars
(ncvars)¶ Return the first found latitude and longitude coordinate names from a NetCDF variable dictionary.
This function searches the dictionary structure for NetCDF variables and returns the first found latitude and longitude coordinate names (typically ‘XLAT’ and ‘XLONG’).
Parameters: ncvars ( dict
) – A NetCDF variable dictionary object.Returns: The latitude and longitude coordinate name pairs as (lat_coord_name, lon_coord_name). Return type: tuple