Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geospatialscenario to geospatialscenario.py #157

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions docs/source/_autosummary/pvdeg.scenario.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ pvdeg.scenario
-------


.. autoclass:: GeospatialScenario
:members:

.. _sphx_glr_backref_pvdeg.scenario.GeospatialScenario:

.. minigallery:: pvdeg.scenario.GeospatialScenario
:add-heading:
.. autoclass:: Scenario
:members:

Expand Down
1 change: 1 addition & 0 deletions docs/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ What's New
==========
PVDegradationTools (pvdeg) change log:

.. include:: releases/v0.5.1.rst
.. include:: releases/v0.5.0.rst
.. include:: releases/v0.4.3.rst
.. include:: releases/v0.4.2.rst
Expand Down
23 changes: 23 additions & 0 deletions docs/source/whatsnew/releases/v0.5.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
v0.5.1 (2025-2-28)
===================

Enhancements
--------------
- Changed ``GeospatialScenario.get_geospatial_data()`` to a ``@property``, now use ``GeospatialScenario.geospatial_data``
- Changed ``GeospatialScenario.coords_tonumpy()`` to a ``@property``, now use ``GeospatialScenario.coords``

Deprecations
-------------
- ``GeospatialScenario._get_geospatial_data()``
- ``GeospatialScenario.getValidRegions()``
- ``GeospatialScenario.gids_tonumpy()``
- ``GeospatialScenario.gids_tolist()``

Bug Fixes
---------
``v0.5.0`` incorrectly claimed that ``GeospatialScenario`` was moved to ``pvdeg/geospatialscenario.py``. Completed the move.


Contributors
-----------
- Tobin Ford (:ghuser:`tobin-ford`)
5 changes: 3 additions & 2 deletions pvdeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
from . import design
from . import fatigue
from . import geospatial
#from .geospatialscenario import GeospatialScenario
from . import humidity
from . import letid
from . import montecarlo
from . import pysam
from .scenario import Scenario, GeospatialScenario
from . import spectral
from . import store
from . import symbolic
Expand All @@ -25,6 +23,9 @@
from . import weather
from . import diffusion

from .scenario import Scenario
from .geospatialscenario import GeospatialScenario

__version__ = version("pvdeg")

logger = logging.getLogger(__name__)
Expand Down
Loading