reVX.utilities.utilities.transform_pixels_to_lat_lon
- transform_pixels_to_lat_lon(rows, cols, src_crs)[source]
Transform pixel locations to latitude/longitude positions.
- Parameters:
rows, cols (np.ndarray) – 2D array of pixel locations in the src_crs.
src_crs (str) – The Coordinate Reference System of the input rows and cols represented as a string.
- Returns:
latitudes, longitudes (np.ndarray) – Pixels transformed to latitudes and longitudes.