File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ def onset_plots(
405
405
lng = marker_pos [1 ]
406
406
try :
407
407
precip = pingrid .sel_snap (rr_mrg .precip , lat , lng )
408
- isnan = np .isnan (precip ).sum (). sum ()
408
+ isnan = np .isnan (precip ).sum ()
409
409
if isnan > 0 :
410
410
error_fig = pingrid .error_fig (error_msg = "Data missing at this location" )
411
411
germ_sentence = ""
@@ -533,7 +533,7 @@ def cess_plots(
533
533
lng = marker_pos [1 ]
534
534
try :
535
535
precip = pingrid .sel_snap (rr_mrg .precip , lat , lng )
536
- isnan = np .isnan (precip ).sum (). sum ()
536
+ isnan = np .isnan (precip ).sum ()
537
537
if isnan > 0 :
538
538
error_fig = pingrid .error_fig (error_msg = "Data missing at this location" )
539
539
return error_fig , error_fig , tab_style
@@ -645,7 +645,7 @@ def length_plots(
645
645
lng = marker_pos [1 ]
646
646
try :
647
647
precip = pingrid .sel_snap (rr_mrg .precip , lat , lng )
648
- isnan = np .isnan (precip ).sum (). sum ()
648
+ isnan = np .isnan (precip ).sum ()
649
649
if isnan > 0 :
650
650
error_fig = pingrid .error_fig (error_msg = "Data missing at this location" )
651
651
germ_sentence = ""
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ def wat_bal_plots(
352
352
precip = precip .where (precip ["T" ] >= p_d , drop = True )
353
353
try :
354
354
precip = pingrid .sel_snap (precip , lat , lng )
355
- isnan = np .isnan (precip ).sum (). sum ()
355
+ isnan = np .isnan (precip ).sum ()
356
356
if isnan > 0 :
357
357
error_fig = pingrid .error_fig (error_msg = "Data missing at this location" )
358
358
return error_fig
You can’t perform that action at this time.
0 commit comments