src / pysoilmap / features.py

get_latitude

get_latitude(xs, ys, crs)[source]

Calculate the latitude for each pair of (X, Y) coordinates in the given CRS.

Parameters:
  • xs (ndarray) – array of X coordinates

  • ys (ndarray) – array of Y coordinates

  • crs (str) – name of the coordinate system