Skip to content

Commit

Permalink
Undo removing of PotentialArea models
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Jan 9, 2025
1 parent bc4cd32 commit b391b38
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 41 deletions.
16 changes: 8 additions & 8 deletions slapp/explorer/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
PotentialareaPVAgricultureLFAOff,
PotentialareaPVRoadRailway,
PotentialareaWindSTP2018Vreg,
#PotentialareaWindSTP2027Repowering,
#PotentialareaWindSTP2027SearchAreaForestArea,
#PotentialareaWindSTP2027SearchAreaOpenArea,
#PotentialareaWindSTP2027VR,
PotentialareaWindSTP2027Repowering,
PotentialareaWindSTP2027SearchAreaForestArea,
PotentialareaWindSTP2027SearchAreaOpenArea,
PotentialareaWindSTP2027VR,
PVground,
PVroof,
Railway,
Expand Down Expand Up @@ -77,9 +77,9 @@
PotentialareaPVAgricultureLFAOff,
PotentialareaPVRoadRailway,
PotentialareaWindSTP2018Vreg,
#PotentialareaWindSTP2027Repowering,
#PotentialareaWindSTP2027SearchAreaForestArea,
#PotentialareaWindSTP2027SearchAreaOpenArea,
#PotentialareaWindSTP2027VR,
PotentialareaWindSTP2027Repowering,
PotentialareaWindSTP2027SearchAreaForestArea,
PotentialareaWindSTP2027SearchAreaOpenArea,
PotentialareaWindSTP2027VR,
],
)

This file was deleted.

7 changes: 3 additions & 4 deletions slapp/explorer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,20 +571,20 @@ class Water(StaticRegionModel): # noqa: D101

class PotentialareaPVAgricultureLFAOff(StaticRegionModel): # noqa: D101
data_file = "potentialarea_pv_agriculture_lfa-off_region"
layer = "potentialarea_pv_agriculture_lfa-off"
layer = "potentialarea_pv_agriculture_lfa-off_region"


class PotentialareaPVRoadRailway(StaticRegionModel): # noqa: D101
data_file = "potentialarea_pv_road_railway_region"
layer = "potentialarea_pv_road_railway"
layer = "potentialarea_pv_road_railway_region"


class PotentialareaWindSTP2018Vreg(StaticRegionModel): # noqa: D101
data_file = "potentialarea_wind_stp_2018_vreg"
layer = "potentialarea_wind_stp_2018_vreg"


""" class PotentialareaWindSTP2027Repowering(StaticRegionModel): # noqa: D101
class PotentialareaWindSTP2027Repowering(StaticRegionModel): # noqa: D101
data_file = "potentialarea_wind_stp_2027_repowering"
layer = "potentialarea_wind_stp_2027_repowering"

Expand All @@ -602,4 +602,3 @@ class PotentialareaWindSTP2027SearchAreaOpenArea(StaticRegionModel): # noqa: D1
class PotentialareaWindSTP2027VR(StaticRegionModel): # noqa: D101
data_file = "potentialarea_wind_stp_2027_vr"
layer = "potentialarea_wind_stp_2027_vr"
"""
8 changes: 4 additions & 4 deletions slapp/utils/data_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
models.PotentialareaPVAgricultureLFAOff,
models.PotentialareaPVRoadRailway,
models.PotentialareaWindSTP2018Vreg,
#models.PotentialareaWindSTP2027Repowering,
#models.PotentialareaWindSTP2027SearchAreaForestArea,
#models.PotentialareaWindSTP2027SearchAreaOpenArea,
#models.PotentialareaWindSTP2027VR,
models.PotentialareaWindSTP2027Repowering,
models.PotentialareaWindSTP2027SearchAreaForestArea,
models.PotentialareaWindSTP2027SearchAreaOpenArea,
models.PotentialareaWindSTP2027VR,
]


Expand Down

0 comments on commit b391b38

Please sign in to comment.