Commit 423f2a4b authored by Narcon Nicolas's avatar Narcon Nicolas
Browse files

FIX: wrong order for mosaic

1 merge request!1DOC: adding schemas of models + improving the pretrained_models doc
Pipeline #33847 canceled with stages
in 10 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -272,7 +272,7 @@ if __name__ == "__main__": ...@@ -272,7 +272,7 @@ if __name__ == "__main__":
input_s1_products.sort(key=_closest_date, reverse=True) input_s1_products.sort(key=_closest_date, reverse=True)
input_s1_images_10m = [product.get_raster_10m() for product in input_s1_products] input_s1_images_10m = [product.get_raster_10m() for product in input_s1_products]
# creating a mosaic with the N closest S1 images # creating a mosaic with the N closest S1 images
s1t = pyotb.App('Mosaic', input_s1_images_10m[:s1_Nimages], nodata=0) s1t = pyotb.App('Mosaic', input_s1_images_10m[-s1_Nimages:], nodata=0)
candidates.append({'s2': s2_product, 's1': s1t}) candidates.append({'s2': s2_product, 's1': s1t})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment