mpas_tools.mesh.spherical.calc_edge_normal_vector

mpas_tools.mesh.spherical.calc_edge_normal_vector(ds_mesh)[source]

Compute edge-normal vectors projected onto local east/north coordinates.

Parameters:

ds_mesh (xarray.Dataset) – An MPAS spherical mesh dataset containing edge and vertex locations.

Returns:

normal_east_north (numpy.ndarray) – A (nEdges, 2) array of unit normal vectors in local east/north coordinates.