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

Commit 115757c

Browse files
committed
fix
1 parent 109c9eb commit 115757c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ocf_datapipes/load/gsp/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __iter__(self) -> xr.DataArray:
7373
# TODO: Try using `gsp_id_to_shape.geometry.envelope.centroid`. See issue #76.
7474
x_osgb=gsp_id_to_shape.geometry.centroid.x.astype(np.float32),
7575
y_osgb=gsp_id_to_shape.geometry.centroid.y.astype(np.float32),
76-
capacity_mwp=gsp_capacity.astype(np.float32),
76+
capacity_megawatt_power=gsp_capacity.astype(np.float32),
7777
)
7878

7979
del gsp_id_to_shape, gsp_pv_power_mw_df

ocf_datapipes/utils/eso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def get_gsp_shape_from_eso(
9090
load_local_file: bool = True,
9191
save_local_file: bool = False,
9292
return_filename: bool = True,
93-
) -> Union[str,gpd.GeoDataFrame]:
93+
) -> Union[str, gpd.GeoDataFrame]:
9494
"""
9595
Get the the gsp shape file from ESO (or a local file)
9696

0 commit comments

Comments
 (0)