Skip to content

Commit

Permalink
Remove redundant duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukhil Patel authored and Sukhil Patel committed Oct 4, 2024
1 parent cd88d22 commit 8b310c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/backtest_sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b310c3

Please sign in to comment.