|
@@ -8,7 +8,7 @@ from math import atan,sin,cos,sqrt,tan,acos,ceil |
|
|
from PIL import Image |
|
|
from PIL import Image |
|
|
|
|
|
|
|
|
EARTH_RADIUS = 6371.0 |
|
|
EARTH_RADIUS = 6371.0 |
|
|
SAT_HEIGHT = 822.5 |
|
|
|
|
|
|
|
|
SAT_HEIGHT = 830.0 |
|
|
SAT_ORBIT_RADIUS = EARTH_RADIUS + SAT_HEIGHT |
|
|
SAT_ORBIT_RADIUS = EARTH_RADIUS + SAT_HEIGHT |
|
|
SWATH_KM = 2800.0 |
|
|
SWATH_KM = 2800.0 |
|
|
THETA_C = SWATH_KM / EARTH_RADIUS |
|
|
THETA_C = SWATH_KM / EARTH_RADIUS |
|
@@ -180,4 +180,4 @@ if __name__ == "__main__": |
|
|
# It's a dead pool now |
|
|
# It's a dead pool now |
|
|
p.join() |
|
|
p.join() |
|
|
|
|
|
|
|
|
rectified_img.save(out_fname + ".jpg", "JPEG", quality=90) |
|
|
|
|
|
|
|
|
rectified_img.save(out_fname + ".png", "PNG") |