Skip to content

Commit

Permalink
Release 0.4.2 (#456)
Browse files Browse the repository at this point in the history
* initial whatsnew/v0.4.2.rst

* More useful error message in spectral_utils if SMARTS isn't installed correctly

* Squashed commit of the following:

commit 93b39ef
Merge: 165d163 d882e16
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 18:23:34 2023 -0700

    Merge branch '417_instructions' of https://github.com/NREL/bifacial_radiance into 417_instructions

commit 165d163
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 18:23:24 2023 -0700

    update whatsnew

commit 2f6e478
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 16:54:40 2023 -0700

    update PATH


commit cee8eca
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 15:32:17 2023 -0700

    Update Github CI to pull new Radiance 5.3

commit 8f713f2
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 15:12:00 2023 -0700

    Update instructions for Radiance pointing to new github repo.  Fixes #417

commit 311a457
Author: Silvana Ovaitt <silvana.ayala@nrel.gov>
Date:   Thu Mar 9 15:12:04 2023 -0700

    pytest.yaml update

commit d882e16
Merge: 6fb291c b94375e
Author: Silvana Ovaitt <silvana.ayala@nrel.gov>
Date:   Thu Mar 9 16:58:45 2023 -0700

    Merge branch '417_instructions' of https://github.com/NREL/bifacial_radiance into 417_instructions


commit 52694c3
Author: cdeline <chris.deline@nrel.gov>
Date:   Thu Mar 9 15:12:00 2023 -0700

    Update instructions for Radiance pointing to new github repo.  Fixes #417

* footer_items warning... 2 of 34

* 421 save image (#455)

* add saveImage to ModuleObj to duplicate objview

* Initial module saveImage workflow integrated with modelchain. Not fully tested.  First whack at _getDesiredIndex

* First cut at saveImage in SceneObj

* SceneObj.saveImage is coded and working.

* update saveImage in modelchain. Make simulationParamsDict['saveImage'] =  True in GUI.
Tested and working for GUI examples so far..

* what's new for #422

* add pytests for saveImage.  Fixes #421

* cleanup prep for multiSceneObj:
- remove self.sceneRAD, nMods, nRows from RadianceObj
- remove 'clearance_height' as entry in trackerdict (get it from 'scene' entry)
- add 'name' input parameter to SceneObj as placeholder (automatically set to Scene0)

* example notebook 1 now runs SceneObj.saveImage at the end.

---------

Co-authored-by: Silvana Ovaitt <silvana.ayala@nrel.gov>

* Doc updates

* 434 notebooks (#454)

* Fix notebook headings
* Fixes #434.  update whatsnew
---------

Co-authored-by: Silvana Ovaitt <silvana.ayala@nrel.gov>

* minor cleanup

* Fix the example gallery links

* update requirements.txt using pur

* Revert requirements.txt.  Quick bugfix

* Deprecating Py3.7 support. Update requirements.txt.  Fixes dependabot pulls #448 and #425.

---------

Co-authored-by: Silvana Ovaitt <silvana.ayala@nrel.gov>
  • Loading branch information
cdeline and shirubana committed Mar 11, 2023
1 parent d80bc70 commit 7fc57b5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/sphinx/source/whatsnew/pending.rst
@@ -0,0 +1,31 @@
.. _whatsnew_0430:

v0.4.3 (XX / XX / 2023)
------------------------
Release of new version including ...


API Changes
~~~~~~~~~~~~
*A new function can now be called to compile results and report out final irradiance and performance data: :py:class:`~bifacial_radiance.RadianceObj.compileResults`.
*Multiple modules and rows can now be selected in a single analysis scan. ``modWanted`` and ``rowWanted`` inputs in :py:class:`~bifacial_radiance.RadianceObj.analysis1axis` can now be a list, to select multiple rows and modules for scans. (:issue:`405`)(:pull:`408`)
*To support multiple modules and row scans for 1axis simulations, outputs like Wm2Front are now stored in ``trackerdict``.``Results`` (:issue:`405`)(:pull:`408`)

Enhancements
~~~~~~~~~~~~


Bug fixes
~~~~~~~~~


Documentation
~~~~~~~~~~~~~~
* Edge effects evaluation tutorial 23, with the new functionality of multiple modules/rows on the same analysis scan.


Contributors
~~~~~~~~~~~~
* Silvana Ayala (:ghuser:`shirubana`)
* Chris Deline (:ghuser:`cdeline`)
5 changes: 5 additions & 0 deletions docs/sphinx/source/whatsnew/v0.4.2.rst
@@ -1,11 +1,14 @@
.. _whatsnew_0420:


v0.4.2 (03 / 10 / 2023)

------------------------
Documentation, bug fix and enhancement update




Bug fixes
~~~~~~~~~
* Return functionality that existed previous to 0.4.0: :py:class:`~bifacial_radiance.ModuleObj`. ``text`` can be manually passed in, over-riding the module object definition. This was mistakenly removed during the moduleObj refactor in v0.4.0. (:pull:`413`)(:issue:`390`)
Expand All @@ -24,6 +27,7 @@ Deprecations
* :py:class:`~bifacial_radiance.RadianceObj`. ``nMods`` and ``nRows`` internal attributes have been removed. These are now defined per :py:class:`~bifacial_radiance.SceneObj`. ``sceneDict`` (:pull:`455`)
* ``trackerdict[index]['clearance_height']`` attribute has been removed. These are available inside the ``trackerdict[index]['scene']`` :py:class:`~bifacial_radiance.SceneObj`. ``sceneDict`` (:pull:`455`)


Documentation
~~~~~~~~~~~~~~
* readthedocs now has an example notebook gallery (:pull:`440`)
Expand All @@ -39,6 +43,7 @@ API Changes




Contributors
~~~~~~~~~~~~
* Silvana Ovaitt (:ghuser:`shirubana`)
Expand Down

0 comments on commit 7fc57b5

Please sign in to comment.