Skip to content

Commit

Permalink
Merge pull request #233 from openclimatefix/less_filter_pv
Browse files Browse the repository at this point in the history
Don't filter missing PV timestamps
  • Loading branch information
dfulu authored Oct 27, 2023
2 parents ecf9b4a + 23b0f41 commit b32b1d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ocf_datapipes/load/pv/pv.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ def load_everything_into_ram(
estimated_capacity_percentile=estimated_capacity_percentile,
)

# Drop systems and timestamps where all values are NaN
df_gen.dropna(axis="index", how="all", inplace=True)
# Drop systems where all values are NaN
df_gen.dropna(axis="columns", how="all", inplace=True)
estimated_capacities = estimated_capacities[df_gen.columns]

Expand Down

0 comments on commit b32b1d3

Please sign in to comment.