File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,17 @@ def main(
80
80
folder .mkdir (parents = True , exist_ok = True )
81
81
82
82
# Sentinel-2 pre-processing
83
- s2 .extract_mask_s2_bands (s2_download_dir , s2_processed_dir , bands = s2_bands )
84
- s2 .distance_to_clouds (s2_processed_dir )
85
- footprint = s2 .get_wkt_footprint (s2_processed_dir )
83
+ s2 .extract_mask_s2_bands (
84
+ s2_download_dir ,
85
+ s2_processed_dir ,
86
+ bands = s2_bands ,
87
+ )
88
+ s2 .distance_to_clouds (
89
+ s2_processed_dir ,
90
+ )
91
+ footprint = s2 .get_wkt_footprint (
92
+ s2_processed_dir ,
93
+ )
86
94
87
95
# Sentinel-3 pre-processing
88
96
s3 .binning_s3 (
@@ -103,12 +111,21 @@ def main(
103
111
step = step ,
104
112
s3_bands = None ,
105
113
)
106
- s3 .smoothing (s3_composites_dir , s3_blured_dir , std = 1 , preserve_nan = False )
114
+ s3 .smoothing (
115
+ s3_composites_dir ,
116
+ s3_blured_dir ,
117
+ std = 1 ,
118
+ preserve_nan = False ,
119
+ )
107
120
s3 .reformat_s3 (
108
121
s3_blured_dir ,
109
122
s3_calibrated_dir ,
110
123
)
111
- s3 .reproject_and_crop_s3 (s3_calibrated_dir , s2_processed_dir , s3_reprojected_dir )
124
+ s3 .reproject_and_crop_s3 (
125
+ s3_calibrated_dir ,
126
+ s2_processed_dir ,
127
+ s3_reprojected_dir ,
128
+ )
112
129
113
130
# Perform EFAST fusion
114
131
for date in rrule .rrule (
You can’t perform that action at this time.
0 commit comments