Skip to content

Commit 0d0afee

Browse files
committed
docs - whatsnew
1 parent 388a2a2 commit 0d0afee

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

docs/source/_autosummary/pvdeg.scenario.rst

-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ pvdeg.scenario
2525
-------
2626

2727

28-
.. autoclass:: GeospatialScenario
29-
:members:
30-
31-
.. _sphx_glr_backref_pvdeg.scenario.GeospatialScenario:
32-
33-
.. minigallery:: pvdeg.scenario.GeospatialScenario
34-
:add-heading:
3528
.. autoclass:: Scenario
3629
:members:
3730

docs/source/whatsnew/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ What's New
44
==========
55
PVDegradationTools (pvdeg) change log:
66

7+
.. include:: releases/v0.5.1.rst
78
.. include:: releases/v0.5.0.rst
89
.. include:: releases/v0.4.3.rst
910
.. include:: releases/v0.4.2.rst
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
v0.5.1 (2025-2-28)
2+
===================
3+
4+
Enhancements
5+
--------------
6+
- Changed ``GeospatialScenario.get_geospatial_data()`` to a ``@property``, now use ``GeospatialScenario.geospatial_data``
7+
- Changed ``GeospatialScenario.coords_tonumpy()`` to a ``@property``, now use ``GeospatialScenario.coords``
8+
9+
Deprecations
10+
-------------
11+
- ``GeospatialScenario._get_geospatial_data()``
12+
- ``GeospatialScenario.getValidRegions()``
13+
- ``GeospatialScenario.gids_tonumpy()``
14+
- ``GeospatialScenario.gids_tolist()``
15+
16+
Bug Fixes
17+
---------
18+
``v0.5.0`` incorrectly claimed that ``GeospatialScenario`` was moved to ``pvdeg/geospatialscenario.py``. Completed the move.
19+
20+
21+
Contributors
22+
-----------
23+
- Tobin Ford (:ghuser:`tobin-ford`)

pvdeg/geospatialscenario.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ def restore_result_gids(self):
760760

761761
self.results = self.results.assign(gids=gids_da)
762762

763-
@pvdeg.decorators.deprecated("to be removed shortly")
763+
@pvdeg.decorators.deprecated("removing complexity")
764764
def _get_geospatial_data(year: int):
765765
"""
766766
Helper function. gets geospatial weather dataset and metadata dictionary.
@@ -793,7 +793,7 @@ def _get_geospatial_data(year: int):
793793

794794
return weather_ds, meta_df
795795

796-
@pvdeg.decorators.deprecated("function to be removed")
796+
@pvdeg.decorators.deprecated("removing co")
797797
def getValidRegions(
798798
self,
799799
country: Optional[str] = None,

0 commit comments

Comments
 (0)