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

Commit 23127ca

Browse files
authored
Merge pull request #355 from openclimatefix/rm-unused-configs
Remove unused configs
2 parents d63ef40 + be35635 commit 23127ca

File tree

4 files changed

+0
-31
lines changed

4 files changed

+0
-31
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"

tests/data/configs/test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ input_data:
2727
- label: india
2828
wind_filename: tests/data/wind/wind_test_data.nc
2929
wind_metadata_filename: tests/data/wind/wind_metadata.csv
30-
get_center: false
3130
wind_image_size_meters_height: 10000000
3231
wind_image_size_meters_width: 10000000
3332
n_wind_systems_per_example: 1
@@ -40,7 +39,6 @@ input_data:
4039
- label: pvoutput.org
4140
pv_filename: tests/data/pv/pvoutput/test.nc
4241
pv_metadata_filename: tests/data/pv/pvoutput/UK_PV_metadata.csv
43-
get_center: false
4442
pv_image_size_meters_height: 10000000
4543
pv_image_size_meters_width: 10000000
4644
n_pv_systems_per_example: 32

tests/data/configs/wind_test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ input_data:
2323
- label: pvoutput.org
2424
pv_filename: tests/data/pv/pvoutput/test.nc
2525
pv_metadata_filename: tests/data/pv/pvoutput/UK_PV_metadata.csv
26-
get_center: false
2726
pv_image_size_meters_height: 10000000
2827
pv_image_size_meters_width: 10000000
2928
n_pv_systems_per_example: 32

0 commit comments

Comments
 (0)