Skip to content

Commit 7e7e38a

Browse files
committed
Clear
1 parent e02cdf2 commit 7e7e38a

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

run_efast.py

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,17 @@ def main(
8080
folder.mkdir(parents=True, exist_ok=True)
8181

8282
# 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+
)
8694

8795
# Sentinel-3 pre-processing
8896
s3.binning_s3(
@@ -103,12 +111,21 @@ def main(
103111
step=step,
104112
s3_bands=None,
105113
)
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+
)
107120
s3.reformat_s3(
108121
s3_blured_dir,
109122
s3_calibrated_dir,
110123
)
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+
)
112129

113130
# Perform EFAST fusion
114131
for date in rrule.rrule(

0 commit comments

Comments
 (0)