pyinterp.geometry.satellite.calculate_swath#
- pyinterp.geometry.satellite.calculate_swath(lon_nadir: numpy.ndarray[dtype=float64, shape=(*), writable=False], lat_nadir: numpy.ndarray[dtype=float64, shape=(*), writable=False], delta_ac: float, half_gap: float, half_swath: int, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None) tuple[numpy.ndarray[dtype=float64, shape=(*, *), order='F'], numpy.ndarray[dtype=float64, shape=(*, *), order='F']]#
Calculate the swath coordinates from the nadir coordinates.
- Parameters:
lon_nadir – Longitude of nadir in degrees.
lat_nadir – Latitude of nadir in degrees.
delta_ac – Across-track distance between two consecutive pixels (meters).
half_gap – Half of the gap between the nadir and the first pixel (meters).
half_swath – Half of the swath width (pixels).
spheroid – Optional spheroid model.
- Returns:
Tuple of longitude and latitude matrices of the swath.