swot_simulator.math

Mathematical routines

Functions

calculate_swath(delta_ac, half_gap, ...)

Calculation of swath geometry

cart2spher(x, y, z)

Convert cartesian coordinates to spherical coordinates

curvilinear_distance(lon, lat, radius)

Calculating the curvilinear distance.

normalize_longitude(lon[, lon_min])

Normalize longitudes between [lon_min, lon_min + 360]

rotation_3d_matrix(theta, axis)

Creates a rotation matrix: Slow method.

satellite_direction(location)

Calculate satellite direction

spher2cart(lon, lat)

Convert spherical coordinates to cartesian coordinates

Classes

Box([min_corner, max_corner])

Defines a box made of two describing points.

Point(lon, lat)

Defines a 2D Point