From c5f9c8e3ca1f146db7010dbb1f6f4e9dee921d39 Mon Sep 17 00:00:00 2001 From: Martin Folkerts Date: Mon, 26 Aug 2024 16:19:22 +0200 Subject: [PATCH] okay --- r_app/mosaic_creation.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_app/mosaic_creation.R b/r_app/mosaic_creation.R index b3a0bcb..178b590 100644 --- a/r_app/mosaic_creation.R +++ b/r_app/mosaic_creation.R @@ -120,7 +120,7 @@ if (length(vrt_list) > 0 ){ thres_5perc = as.integer(missing_pixels_percentage < 5), thres_40perc = as.integer(missing_pixels_percentage < 45) ) - + head(missing_pixels_count) index_5perc <- which(missing_pixels_count$thres_5perc == max(missing_pixels_count$thres_5perc) ) index_40perc <- which(missing_pixels_count$thres_40perc == max(missing_pixels_count$thres_40perc))