s1-geometry 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- s1_geometry/__init__.py +93 -0
- s1_geometry/angles.py +648 -0
- s1_geometry/cli.py +156 -0
- s1_geometry/footprint.py +336 -0
- s1_geometry/geometry.py +130 -0
- s1_geometry/heading.py +151 -0
- s1_geometry/wv.py +339 -0
- s1_geometry-0.2.0.dist-info/METADATA +226 -0
- s1_geometry-0.2.0.dist-info/RECORD +12 -0
- s1_geometry-0.2.0.dist-info/WHEEL +4 -0
- s1_geometry-0.2.0.dist-info/entry_points.txt +2 -0
- s1_geometry-0.2.0.dist-info/licenses/LICENSE +21 -0
s1_geometry/__init__.py
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"""s1_geometry: geometric quantities from a Sentinel-1 SAR footprint.
|
|
2
|
+
|
|
3
|
+
Current release (v0.3): the IW **ground heading** as a function of the
|
|
4
|
+
reference point and the SAFE footprint (see :mod:`s1_geometry.heading`),
|
|
5
|
+
the **incidence / elevation angles** of IW, EW and SM acquisitions from the
|
|
6
|
+
SAFE footprint and a reference point (see :mod:`s1_geometry.angles`; the SM
|
|
7
|
+
stripmap chain is spec-based and not validated against ESA L2 data), and the
|
|
8
|
+
**per-point incidence / elevation / heading** of WV (wide-swath) acquisitions
|
|
9
|
+
from the burst-ring MultiPolygon and the satellite distance (see
|
|
10
|
+
:mod:`s1_geometry.wv`).
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from s1_geometry.angles import (
|
|
14
|
+
MODE_SIGMA,
|
|
15
|
+
R_E_KM,
|
|
16
|
+
R_S_MAX_KM,
|
|
17
|
+
R_S_MIN_KM,
|
|
18
|
+
S1Angles,
|
|
19
|
+
SM_BEAM_SIGMA,
|
|
20
|
+
dfrac_of_point,
|
|
21
|
+
estimate_incidence_elevation,
|
|
22
|
+
sar_elevation_angle,
|
|
23
|
+
sar_incidence_angle,
|
|
24
|
+
swath_width_km,
|
|
25
|
+
)
|
|
26
|
+
from s1_geometry.footprint import (
|
|
27
|
+
ASCENDING,
|
|
28
|
+
DESCENDING,
|
|
29
|
+
DLAT_TURN_THRESHOLD_DEG,
|
|
30
|
+
TURNING,
|
|
31
|
+
as_multipolygon,
|
|
32
|
+
load_sar_polygons,
|
|
33
|
+
orbit_direction_from_ring,
|
|
34
|
+
point_in_polygon,
|
|
35
|
+
polygon_index_for_point,
|
|
36
|
+
ring_to_geojson,
|
|
37
|
+
)
|
|
38
|
+
from s1_geometry.geometry import S1Geometry, estimate_geometry
|
|
39
|
+
from s1_geometry.wv import (
|
|
40
|
+
S1WVAngles,
|
|
41
|
+
WV_THETA_DOC,
|
|
42
|
+
estimate_wv_angles,
|
|
43
|
+
wv_theta_deg,
|
|
44
|
+
)
|
|
45
|
+
from s1_geometry.heading import (
|
|
46
|
+
HEADING_FIT_CUTOFF_ABS_LAT,
|
|
47
|
+
TURN_HEADING_DEG,
|
|
48
|
+
TURNING_LATITUDES,
|
|
49
|
+
heading_from_lat,
|
|
50
|
+
sar_ground_heading,
|
|
51
|
+
sar_ground_heading_uncertainty,
|
|
52
|
+
sar_heading_and_uncertainty,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
__version__ = "0.3.0"
|
|
56
|
+
|
|
57
|
+
__all__ = [
|
|
58
|
+
"ASCENDING",
|
|
59
|
+
"DESCENDING",
|
|
60
|
+
"DLAT_TURN_THRESHOLD_DEG",
|
|
61
|
+
"HEADING_FIT_CUTOFF_ABS_LAT",
|
|
62
|
+
"MODE_SIGMA",
|
|
63
|
+
"R_E_KM",
|
|
64
|
+
"R_S_MAX_KM",
|
|
65
|
+
"R_S_MIN_KM",
|
|
66
|
+
"S1Angles",
|
|
67
|
+
"S1Geometry",
|
|
68
|
+
"S1WVAngles",
|
|
69
|
+
"SM_BEAM_SIGMA",
|
|
70
|
+
"TURNING",
|
|
71
|
+
"TURN_HEADING_DEG",
|
|
72
|
+
"TURNING_LATITUDES",
|
|
73
|
+
"WV_THETA_DOC",
|
|
74
|
+
"__version__",
|
|
75
|
+
"as_multipolygon",
|
|
76
|
+
"dfrac_of_point",
|
|
77
|
+
"estimate_geometry",
|
|
78
|
+
"estimate_incidence_elevation",
|
|
79
|
+
"estimate_wv_angles",
|
|
80
|
+
"heading_from_lat",
|
|
81
|
+
"load_sar_polygons",
|
|
82
|
+
"orbit_direction_from_ring",
|
|
83
|
+
"point_in_polygon",
|
|
84
|
+
"polygon_index_for_point",
|
|
85
|
+
"ring_to_geojson",
|
|
86
|
+
"sar_elevation_angle",
|
|
87
|
+
"sar_ground_heading",
|
|
88
|
+
"sar_ground_heading_uncertainty",
|
|
89
|
+
"sar_heading_and_uncertainty",
|
|
90
|
+
"sar_incidence_angle",
|
|
91
|
+
"swath_width_km",
|
|
92
|
+
"wv_theta_deg",
|
|
93
|
+
]
|