uxarray.Grid.get_edges_at_constant_latitude

uxarray.Grid.get_edges_at_constant_latitude#

Grid.get_edges_at_constant_latitude(lat, use_face_bounds=False)#

Identifies the indices of edges that intersect with a line of constant latitude.

Parameters:
  • lat (float) – The latitude at which to extract the cross-section, in degrees. Must be between -90.0 and 90.0

  • use_face_bounds (bool, optional) – If True, uses the bounds of each face for computing intersections.

Returns:

faces – An array of edge indices that intersect with the specified latitude.

Return type:

numpy.ndarray