transform_points๏ƒ

Equi7Grid_projection.transform_points(src_crs, x, y[, z])๏ƒ

Transform the given coordinates, in the given source coordinate system (src_crs), to this coordinate system.

Parameters:
  • src_crs โ€“ instance of CRS that represents the coordinate system of x, y and z.

  • x โ€“ the x coordinates (array), in src_crs coordinates, to transform. May be 1 or 2 dimensional.

  • y โ€“ the y coordinates (array), in src_crs coordinates, to transform. Its shape must match that of x.

  • z (optional) โ€“ the z coordinates (array), in src_crs coordinates, to transform. Defaults to None. If supplied, its shape must match that of x.

  • trap โ€“ Whether proj errors for โ€œlatitude or longitude exceeded limitsโ€ and โ€œtolerance condition errorโ€ should be trapped.

Return type:

Array of shape x.shape + (3, ) in this coordinate system.