def get_lat_field(da):
    """Get name of latitude coordinate."""

    default_lat_names = ['lat', 'lat_2', 'g0_lat_2']

    for d in default_lat_names:

        if d in da.dims:
            return d

    raise RuntimeError('Could not deduce latitude coordinate for given data')