sarkit.sidd.calculations.pfgd_pixel_to_latlon
- pfgd_pixel_to_latlon(sidd_xmltree, pixel)
Section 3.11 PFGD Row and Column to Latitude, Longitude and Height Conversion
- Parameters:
- sidd_xmltree
lxml.etree.ElementTree SIDD XML metadata
- pixel(…, 2) array_like
N-D array of PFGD pixel grid coordinates with {r, c} in the last dimension
- sidd_xmltree
- Returns:
- (…, 2 or 3)
ndarray N-D array of ECEF coordinates with {lat, lon, alt} in the last dimension. “alt” only present if SIDD contains the “RowColToAlt” polynomial.
- (…, 2 or 3)