check_coords_names function

Check that we have a valid pair of coordinate names