uxarray.Grid.get_edges_at_constant_longitude

uxarray.Grid.get_edges_at_constant_longitude#

Grid.get_edges_at_constant_longitude(lon, use_face_bounds=False)#

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

Parameters:
  • lon (float) – The longitude 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 longitude.

Return type:

numpy.ndarray