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

Commit 5cfa4d7

Browse files
committed
fix
1 parent a6e72f3 commit 5cfa4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocf_datapipes/training/pvnet_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def construct_sliced_data_pipeline(
278278
scaling_methods = conf_sat.satellite_scaling_methods
279279
if "min_max" in scaling_methods:
280280
sat_datapipe = sat_datapipe.normalize(min_values=RSS_RAW_MIN, max_values=RSS_RAW_MAX)
281-
if "mean_std":
281+
if "mean_std" in scaling_methods:
282282
sat_datapipe = sat_datapipe.normalize(mean=RSS_MEAN, std=RSS_STD)
283283

284284
if "pv" in datapipes_dict:

0 commit comments

Comments
 (0)