dist-s1-enumerator 1.0.10__py3-none-any.whl → 1.0.11__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.
- dist_s1_enumerator/asf.py +1 -1
- dist_s1_enumerator/dist_enum.py +1 -1
- dist_s1_enumerator/dist_enum_inputs.py +2 -2
- dist_s1_enumerator/tabular_models.py +1 -1
- {dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/METADATA +3 -2
- {dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/RECORD +9 -9
- {dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/WHEEL +1 -1
- {dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/licenses/LICENSE +0 -0
- {dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/top_level.txt +0 -0
dist_s1_enumerator/asf.py
CHANGED
|
@@ -135,7 +135,7 @@ def get_rtc_s1_ts_metadata_by_burst_ids(
|
|
|
135
135
|
properties_f = [
|
|
136
136
|
{
|
|
137
137
|
'opera_id': p['sceneName'],
|
|
138
|
-
'acq_dt': pd.
|
|
138
|
+
'acq_dt': pd.Timestamp(p['startTime'], tz='UTC'),
|
|
139
139
|
'track_number': p['pathNumber'],
|
|
140
140
|
'polarizations': p['polarization'],
|
|
141
141
|
'all_urls': [p['url']] + p['additionalUrls'],
|
dist_s1_enumerator/dist_enum.py
CHANGED
|
@@ -231,7 +231,7 @@ def enumerate_dist_s1_products(
|
|
|
231
231
|
df_rtc_ts: gpd.GeoDataFrame,
|
|
232
232
|
mgrs_tile_ids: list[str],
|
|
233
233
|
lookback_strategy: str = 'multi_window',
|
|
234
|
-
max_pre_imgs_per_burst: int = (
|
|
234
|
+
max_pre_imgs_per_burst: int = (4, 3, 3),
|
|
235
235
|
min_pre_imgs_per_burst: int = 1,
|
|
236
236
|
tqdm_enabled: bool = True,
|
|
237
237
|
delta_lookback_days: int = 365,
|
|
@@ -32,7 +32,7 @@ def enumerate_dist_s1_workflow_inputs(
|
|
|
32
32
|
start_acq_dt: datetime | pd.Timestamp | str | None = None,
|
|
33
33
|
stop_acq_dt: datetime | pd.Timestamp | str | None = None,
|
|
34
34
|
lookback_strategy: str = 'multi_window',
|
|
35
|
-
max_pre_imgs_per_burst: int | list[int] | tuple[int, ...] = (
|
|
35
|
+
max_pre_imgs_per_burst: int | list[int] | tuple[int, ...] = (4, 3, 3),
|
|
36
36
|
min_pre_imgs_per_burst: int = 1,
|
|
37
37
|
delta_lookback_days: int | list[int] | tuple[int, ...] = 365,
|
|
38
38
|
delta_window_days: int = 365,
|
|
@@ -60,7 +60,7 @@ def enumerate_dist_s1_workflow_inputs(
|
|
|
60
60
|
Lookback strategy to use, by default 'multi_window'. Options are
|
|
61
61
|
'immediate_lookback' or 'multi_window'.
|
|
62
62
|
max_pre_imgs_per_burst : int | list[int] | tuple[int, ...], optional
|
|
63
|
-
Maximum number of pre-images per burst to include, by default
|
|
63
|
+
Maximum number of pre-images per burst to include, by default (4, 3, 3).
|
|
64
64
|
If lookback strategy is 'multi_window':
|
|
65
65
|
- this is interpreted as the maximum number of pre-images on each anniversary date.
|
|
66
66
|
- tuple/list of integers are provided, each int represents the maximum number of pre-images on each
|
|
@@ -27,7 +27,7 @@ rtc_s1_resp_schema = DataFrameSchema(
|
|
|
27
27
|
{
|
|
28
28
|
'opera_id': Column(str, required=True),
|
|
29
29
|
'jpl_burst_id': Column(str, required=True),
|
|
30
|
-
'acq_dt': Column(DateTime(tz='UTC'), required=True),
|
|
30
|
+
'acq_dt': Column(DateTime(tz='UTC'), coerce=True, required=True),
|
|
31
31
|
'acq_date_for_mgrs_pass': Column(str, required=False),
|
|
32
32
|
'polarizations': Column(str, required=True),
|
|
33
33
|
'track_number': Column(int, required=True),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dist-s1-enumerator
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.11
|
|
4
4
|
Summary: Enumeration and ops library for the OPERA DIST-S1 project
|
|
5
5
|
Author-email: "Richard West, Charlie Marshak, Talib Oliver-Cabrera, and Jungkyo Jung" <charlie.z.marshak@jpl.nasa.gov>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -99,7 +99,8 @@ Yields:
|
|
|
99
99
|
<details>
|
|
100
100
|
<summary>Output</summary>
|
|
101
101
|
|
|
102
|
-
```
|
|
102
|
+
```
|
|
103
|
+
[{'mgrs_tile_id': '19HBD',
|
|
103
104
|
'post_acq_date': '2023-11-05',
|
|
104
105
|
'track_number': 91,
|
|
105
106
|
'post_acq_timestamp': '2023-11-05 23:36:49+00:00'},
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
dist_s1_enumerator/__init__.py,sha256=L89uOLGobmF-ZsBA767RiGpKCDKVx6KOK6wJkjGQ69M,1766
|
|
2
|
-
dist_s1_enumerator/asf.py,sha256=
|
|
2
|
+
dist_s1_enumerator/asf.py,sha256=FflbykjtZDT8sn8a2g2PMpFejYXgbtyCaW7wuKnzcSE,13858
|
|
3
3
|
dist_s1_enumerator/constants.py,sha256=Ve_aLWRqNduh7uEBaHbJNy1VfH2njzV57L4T_gBVNaE,727
|
|
4
|
-
dist_s1_enumerator/dist_enum.py,sha256=
|
|
5
|
-
dist_s1_enumerator/dist_enum_inputs.py,sha256=
|
|
4
|
+
dist_s1_enumerator/dist_enum.py,sha256=196qAcsAscT0pNn4hK7hM0dI1j1aABSI5zpaxFjUGUI,21412
|
|
5
|
+
dist_s1_enumerator/dist_enum_inputs.py,sha256=O930DPfubLVW47zw7QzVBokjtNk9Wy4nP_gDdBaEnn0,6799
|
|
6
6
|
dist_s1_enumerator/exceptions.py,sha256=JhT8fIEmW3O2OvUQADkEJkL8ZrUN5pkKNzCCSt33goQ,82
|
|
7
7
|
dist_s1_enumerator/mgrs_burst_data.py,sha256=vt9ubDUP3l2iNXK82OuvahX_WUq0MpHMkmTKOPvbRuw,7162
|
|
8
8
|
dist_s1_enumerator/param_models.py,sha256=DI2MgSxiPo7HiRKtXX8bxZnQtuoYAmtAcdYYrnhMIho,4614
|
|
9
9
|
dist_s1_enumerator/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
dist_s1_enumerator/rtc_s1_io.py,sha256=TPlgMdyjRYnGWCt7J1nQ1AY90lAPQoMy2BN0oFMw4gg,5267
|
|
11
|
-
dist_s1_enumerator/tabular_models.py,sha256=
|
|
11
|
+
dist_s1_enumerator/tabular_models.py,sha256=v1XBDiDtMvRix7HKJMvmPDO3HtD7ipE-Sol405YF2pY,3202
|
|
12
12
|
dist_s1_enumerator/data/jpl_burst_geo.parquet,sha256=EXpQcXhWt2T6RVBmvkh7vQb150ShftIsZWvN97wQP4g,30106843
|
|
13
13
|
dist_s1_enumerator/data/mgrs.parquet,sha256=XB69HyNK502cJJ2Ry5wmnrbe-jepAdoMe7y35QUj_Gs,596933
|
|
14
14
|
dist_s1_enumerator/data/mgrs_burst_lookup_table.parquet,sha256=m_r0E7yTet6Xwd_H-lg2qr6IpBYBksYn5C5nOaXY8pw,3029091
|
|
15
|
-
dist_s1_enumerator-1.0.
|
|
16
|
-
dist_s1_enumerator-1.0.
|
|
17
|
-
dist_s1_enumerator-1.0.
|
|
18
|
-
dist_s1_enumerator-1.0.
|
|
19
|
-
dist_s1_enumerator-1.0.
|
|
15
|
+
dist_s1_enumerator-1.0.11.dist-info/licenses/LICENSE,sha256=qsoT0jnoSQSgSzA-sywESwmVxC3XcugfW-3vctvz2aM,11346
|
|
16
|
+
dist_s1_enumerator-1.0.11.dist-info/METADATA,sha256=vufcaCwBJmK01Me8wAYo6dXfefkJ0EM-yLtRrf_jRVs,20544
|
|
17
|
+
dist_s1_enumerator-1.0.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
18
|
+
dist_s1_enumerator-1.0.11.dist-info/top_level.txt,sha256=5-RGu6oxsKKyhybZZSuUImALhcQT8ZOAnVv2MmrESDE,19
|
|
19
|
+
dist_s1_enumerator-1.0.11.dist-info/RECORD,,
|
{dist_s1_enumerator-1.0.10.dist-info → dist_s1_enumerator-1.0.11.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|