diff --git a/.gitignore b/.gitignore index ab0452c628..cc540f70c0 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ pvlib/spa_c_files/spa_tester.c # generated documentation docs/sphinx/source/generated docs/sphinx/source/savefig +docs/sphinx/source/auto_examples # Installer logs pip-log.txt diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 43cfd5afe2..01af8f6505 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -299,7 +299,8 @@ PVWatts model pvsystem.pvwatts_losses Functions for fitting diode models -------------------------------- +---------------------------------- + .. autosummary:: :toctree: generated/ @@ -309,6 +310,7 @@ Functions for fitting diode models Losses ------ + .. autosummary:: :toctree: generated/ diff --git a/docs/sphinx/source/whatsnew/v0.7.1.rst b/docs/sphinx/source/whatsnew/v0.7.1.rst index c949c36675..af0368821d 100644 --- a/docs/sphinx/source/whatsnew/v0.7.1.rst +++ b/docs/sphinx/source/whatsnew/v0.7.1.rst @@ -1,11 +1,7 @@ .. _whatsnew_0710: -v0.7.1 (MONTH DAY, YEAR) ------------------------- - - -API Changes -~~~~~~~~~~~ +v0.7.1 (January 17, 2020) +------------------------- Enhancements ~~~~~~~~~~~~ @@ -15,6 +11,7 @@ Enhancements * Added `leap_day` parameter to `iotools.get_psm3` instead of hardcoding it as False. * Added :py:func:`~pvlib.iotools.get_pvgis_tmy` to get PVGIS TMY datasets. + (:pull:`845`) * Added :py:func:`~pvlib.iotools.parse_epw` to parse a file-like buffer containing weather data in the EPW format. * Added a new module `pvlib.losses` for various loss models. @@ -23,6 +20,8 @@ Enhancements Bug fixes ~~~~~~~~~ +* Fix error in logic for emitting deprecation warning in + :py:func:`~pvlib.pvsystem.sapm` (:pull:`844`) * Changed the PSM3 API endpoint for TMY requests in `iotools.get_psm3`. Testing @@ -42,4 +41,8 @@ Contributors ~~~~~~~~~~~~ * Kevin Anderson (:ghuser:`kanderso-nrel`) * Mark Mikofski (:ghuser:`mikofski`) +* :ghuser:`dzimmanck` +* Will Holmgren (:ghuser:`wholmgren`) +* Cliff Hansen (:ghuser:`cwhanse`) * Valliappan CA (:ghuser:`nappaillav`) +* Anton Driesse (:ghuser:`adriesse`) diff --git a/pvlib/iotools/epw.py b/pvlib/iotools/epw.py index 82a7fd7305..df93e125c5 100644 --- a/pvlib/iotools/epw.py +++ b/pvlib/iotools/epw.py @@ -8,7 +8,7 @@ def read_epw(filename, coerce_year=None): - ''' + r''' Read an EPW file in to a pandas dataframe. Note that values contained in the metadata dictionary are unchanged @@ -179,7 +179,7 @@ def read_epw(filename, coerce_year=None): | precipitable_water | Total precipitable water contained in a | | | column of unit cross section from earth | | | to top of atmosphere, cm. Note that some| - | | old *_TMY3.epw files may have incorrect | + | | old \*_TMY3.epw files may have incorrect| | | unit if it was retrieved from | | | www.energyplus.net. | +-------------------------------+-----------------------------------------+