Input coordinates.
If grid is False, evaluate the spline at points
(theta[i], phi[i]), i=0, ..., len(x)-1. Standard
Numpy broadcasting is obeyed.
If grid is True: evaluate spline at the grid points
defined by the coordinate arrays theta, phi. The arrays
must be sorted to increasing order.