Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit e942468

Browse files
committed
Update opening PV data
1 parent e52975a commit e942468

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ocf_datapipes/training/metnet_national.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,7 @@ def metnet_national_datapipe(
176176
logger.debug("Opening PV")
177177
pv_datapipe, pv_time_periods_datapipe = (
178178
OpenPVFromNetCDF(
179-
pv_power_filename=configuration.input_data.pv.pv_files_groups[0].pv_filename,
180-
pv_metadata_filename=configuration.input_data.pv.pv_files_groups[
181-
0
182-
].pv_metadata_filename,
179+
pv=configuration.input_data.pv
183180
)
184181
.add_t0_idx_and_sample_period_duration(
185182
sample_period_duration=timedelta(minutes=5),

0 commit comments

Comments
 (0)