diff --git a/scripts/backtest_sites.py b/scripts/backtest_sites.py index 6ebb7b30..e764abf8 100644 --- a/scripts/backtest_sites.py +++ b/scripts/backtest_sites.py @@ -328,7 +328,6 @@ def predict_batch(self, batch: NumpyBatch) -> xr.Dataset: # Multiply normalised forecasts by capacities and clip negatives da_abs_site = da_normed_site.clip(0, None) * site_capacities[:, None, None] - da_abs_site = da_abs_site.clip(0, None) # Apply sundown mask da_abs_site = da_abs_site.where(~da_sundown_mask).fillna(0.0)