@@ -375,7 +375,11 @@ def timeseries_plot(
375
375
lng1 = loc_marker [1 ]
376
376
377
377
if data_choice == "suitability_map" :
378
- data = crop_suitability (rr_mrg ,min_wet_days ,wet_day_def ,tmax_mrg ,tmin_mrg ,lower_wet_threshold ,upper_wet_threshold ,maximum_temp ,minimum_temp ,temp_range ,target_season ,dry_spell_rain ,dry_days_in_row ,number_dry_spells )
378
+ data = crop_suitability (
379
+ rr_mrg , min_wet_days , wet_day_def , tmax_mrg , tmin_mrg ,
380
+ lower_wet_threshold , upper_wet_threshold , maximum_temp ,
381
+ minimum_temp , temp_range , target_season , dry_spell_rain ,
382
+ dry_days_in_row ,number_dry_spells )
379
383
if data_choice == "precip_map" :
380
384
data = rr_mrg
381
385
if data_choice == "tmax_map" :
@@ -483,7 +487,11 @@ def cropSuit_layers(tz, tx, ty):
483
487
y_max = pingrid .tile_top_mercator (ty , tz )
484
488
y_min = pingrid .tile_top_mercator (ty + 1 , tz )
485
489
486
- crop_suit_vals = crop_suitability (rr_mrg ,min_wet_days ,wet_day_def ,tmax_mrg ,tmin_mrg ,lower_wet_threshold ,upper_wet_threshold ,maximum_temp ,minimum_temp ,temp_range ,target_season ,dry_spell_rain ,dry_days_in_row ,number_dry_spells )
490
+ crop_suit_vals = crop_suitability (
491
+ rr_mrg , min_wet_days , wet_day_def , tmax_mrg , tmin_mrg ,
492
+ lower_wet_threshold , upper_wet_threshold , maximum_temp ,
493
+ minimum_temp , temp_range , target_season , dry_spell_rain ,
494
+ dry_days_in_row ,number_dry_spells )
487
495
488
496
data_tile = crop_suit_vals .crop_suit
489
497
0 commit comments