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

Commit 0ca3a66

Browse files
committed
remove unused configs
1 parent d63ef40 commit 0ca3a66

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

ocf_datapipes/config/model.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,6 @@ class Wind(DataSourceMixin, TimeResolutionMixin, XYDimensionalNames, DropoutMixi
279279
"values can be interpolated, and the extra minutes removed. This is "
280280
"because some live data takes ~1 hour to come in.",
281281
)
282-
get_center: bool = Field(
283-
False,
284-
description="If the batches are centered on one Wind system (or not). "
285-
"The other options is to have one GSP at the center of a batch. "
286-
"Typically, get_center would be set to true if and only if "
287-
"WindDataSource is used to define the geospatial positions of each example.",
288-
)
289282

290283
time_resolution_minutes: int = Field(
291284
15,
@@ -336,13 +329,6 @@ class PV(
336329
)
337330
pv_image_size_meters_height: int = METERS_PER_ROI
338331
pv_image_size_meters_width: int = METERS_PER_ROI
339-
get_center: bool = Field(
340-
False,
341-
description="If the batches are centered on one PV system (or not). "
342-
"The other options is to have one GSP at the center of a batch. "
343-
"Typically, get_center would be set to true if and only if "
344-
"PVDataSource is used to define the geospatial positions of each example.",
345-
)
346332

347333
pv_filename: Optional[str] = Field(
348334
None,
@@ -405,13 +391,6 @@ class Sensor(DataSourceMixin, TimeResolutionMixin, XYDimensionalNames):
405391

406392
sensor_image_size_meters_height: int = METERS_PER_ROI
407393
sensor_image_size_meters_width: int = METERS_PER_ROI
408-
get_center: bool = Field(
409-
False,
410-
description="If the batches are centered on one Sensor system (or not). "
411-
"The other options is to have one GSP at the center of a batch. "
412-
"Typically, get_center would be set to true if and only if "
413-
"SensorDataSource is used to define the geospatial positions of each example.",
414-
)
415394

416395
sensor_filename: str = Field(
417396
None,
@@ -760,12 +739,6 @@ class InputData(Base):
760739
description="how many historic minutes are used. "
761740
"This sets the default for all the data sources if they are not set.",
762741
)
763-
data_source_which_defines_geospatial_locations: str = Field(
764-
"gsp",
765-
description=(
766-
"The name of the DataSource which will define the geospatial position of each example."
767-
),
768-
)
769742

770743
@property
771744
def default_seq_length_5_minutes(self):

tests/data/configs/on_premises.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ input_data:
4040
- label: pvoutput.org
4141
pv_filename: /mnt/storage_b/data/ocf/solar_pv_nowcasting/nowcasting_dataset_pipeline/PV/PVOutput.org/UK_PV_timeseries_batch.nc
4242
pv_metadata_filename: /mnt/storage_b/data/ocf/solar_pv_nowcasting/nowcasting_dataset_pipeline/PV/PVOutput.org/UK_PV_metadata.csv
43-
get_center: false
4443
history_minutes: 90
4544
forecast_minutes: 360
4645
log_level: "INFO"

0 commit comments

Comments
 (0)