mpas_tools.mesh.spherical.calc_vector_east_north

mpas_tools.mesh.spherical.calc_vector_east_north(x, y, z)[source]

Compute local east and north unit vectors on the sphere.

Parameters:
  • x (numpy.ndarray) – Cartesian coordinates of points on the unit sphere.

  • y (numpy.ndarray) – Cartesian coordinates of points on the unit sphere.

  • z (numpy.ndarray) – Cartesian coordinates of points on the unit sphere.

Returns:

east, north (tuple of numpy.ndarray) – Local east and north unit vectors, each with shape (3, nPoints).