Skip to content

Commit 44a9ef1

Browse files
authored
Merge pull request #2 from williamhobbs/nsrdb_psm4_dedicated_get_functions
Nsrdb psm4 dedicated get functions
2 parents 523877b + 999bfa6 commit 44a9ef1

5 files changed

Lines changed: 555 additions & 103 deletions

File tree

docs/sphinx/source/reference/iotools.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ of sources and file formats relevant to solar energy modeling.
2626
iotools.read_crn
2727
iotools.read_solrad
2828
iotools.get_solrad
29-
iotools.get_psm4
30-
iotools.read_psm4
31-
iotools.parse_psm4
29+
iotools.get_nsrdb_psm4_aggregated
30+
iotools.get_nsrdb_psm4_tmy
31+
iotools.get_nsrdb_psm4_conus
32+
iotools.get_nsrdb_psm4_full_disc
33+
iotools.read_nsrdb_psm4
34+
iotools.parse_nsrdb_psm4
3235
iotools.get_psm3
3336
iotools.read_psm3
3437
iotools.parse_psm3

docs/sphinx/source/whatsnew/v0.11.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Enhancements
1616
ground irradiance when the sun was below the horizon. (:issue:`2245`, :pull:`2359`)
1717
* Fix a bug where :py:func:`pvlib.transformer.simple_efficiency` could only be imported
1818
using the `from pvlib.transformer` syntax (:pull:`2388`)
19-
* Add NREL NSRDB PSM v4 API client to :py:mod:`pvlib.iotools`. See :py:func:`~pvlib.iotools.get_psm4`, :py:func:`~pvlib.iotools.read_psm4` and :py:func:`~pvlib.iotools.parse_psm4`. (:issue:`2326`, :pull:`2378`)
19+
* Add NREL NSRDB PSM v4 API client to :py:mod:`pvlib.iotools`. See :py:func:`~pvlib.iotools.get_nsrdb_psm4_aggregated`, :py:func:`~pvlib.iotools.get_nsrdb_psm4_tmy`, :py:func:`~pvlib.iotools.get_nsrdb_psm4_conus`, :py:func:`~pvlib.iotools.get_nsrdb_psm4_full_disc`, :py:func:`~pvlib.iotools.read_nsrdb_psm4`, and :py:func:`~pvlib.iotools.parse_nsrdb_psm4`. (:issue:`2326`, :pull:`2378`)
2020

2121
Documentation
2222
~~~~~~~~~~~~~

pvlib/iotools/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@
1111
from pvlib.iotools.psm3 import get_psm3 # noqa: F401
1212
from pvlib.iotools.psm3 import read_psm3 # noqa: F401
1313
from pvlib.iotools.psm3 import parse_psm3 # noqa: F401
14-
from pvlib.iotools.psm4 import get_psm4 # noqa: F401
15-
from pvlib.iotools.psm4 import read_psm4 # noqa: F401
16-
from pvlib.iotools.psm4 import parse_psm4 # noqa: F401
14+
from pvlib.iotools.psm4 import get_nsrdb_psm4_aggregated # noqa: F401
15+
from pvlib.iotools.psm4 import get_nsrdb_psm4_tmy # noqa: F401
16+
from pvlib.iotools.psm4 import get_nsrdb_psm4_conus # noqa: F401
17+
from pvlib.iotools.psm4 import get_nsrdb_psm4_full_disc # noqa: F401
18+
from pvlib.iotools.psm4 import read_nsrdb_psm4 # noqa: F401
19+
from pvlib.iotools.psm4 import parse_nsrdb_psm4 # noqa: F401
1720
from pvlib.iotools.pvgis import get_pvgis_tmy, read_pvgis_tmy # noqa: F401
1821
from pvlib.iotools.pvgis import read_pvgis_hourly # noqa: F401
1922
from pvlib.iotools.pvgis import get_pvgis_hourly # noqa: F401

0 commit comments

Comments
 (0)