Skip to content

Commit 6e9253f

Browse files
committed
Update irradiance.py
1 parent 7ca29e6 commit 6e9253f

File tree

1 file changed

+21
-35
lines changed

1 file changed

+21
-35
lines changed

pvlib/irradiance.py

Lines changed: 21 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -660,12 +660,10 @@ def klucher(surface_tilt, surface_azimuth, dhi, ghi, solar_zenith,
660660
Global horizontal irradiance, must be >=0. See :term:`ghi`. [Wm⁻²]
661661
662662
solar_zenith : numeric
663-
Apparent (refraction-corrected) zenith angles.
664-
``solar_zenith`` must be >=0° and <=180°. See :term:`solar_zenith`. [°]
663+
Apparent (refraction-corrected) zenith angles. [°]
665664
666665
solar_azimuth : numeric
667-
Sun azimuth angles. ``solar_azimuth`` must be >=0° and <=360. See
668-
:term:`solar_azimuth`. [°]
666+
Sun azimuth angles. See :term:`solar_azimuth`. [°]
669667
670668
Returns
671669
-------
@@ -764,8 +762,7 @@ def haydavies(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
764762
765763
solar_zenith : numeric, optional
766764
Solar apparent (refraction-corrected) zenith angles. Must supply
767-
``solar_zenith`` and ``solar_azimuth``, or supply ``projection_ratio``.
768-
See :term:`solar_zenith`. [°]
765+
``solar_zenith`` and ``solar_azimuth``, or supply ``projection_ratio``. [°]
769766
770767
solar_azimuth : numeric, optional
771768
Solar azimuth angles. Must supply ``solar_zenith`` and
@@ -905,7 +902,7 @@ def reindl(surface_tilt, surface_azimuth, dhi, dni, ghi, dni_extra,
905902
Extraterrestrial normal irradiance, see :term:`dni_extra`. [Wm⁻²]
906903
907904
solar_zenith : numeric
908-
Solar apparent (refraction-corrected) zenith angles.
905+
Solar apparent (refraction-corrected) zenith angles
909906
See :term:`solar_zenith`. [°]
910907
911908
solar_azimuth : numeric
@@ -1008,8 +1005,7 @@ def king(surface_tilt, dhi, ghi, solar_zenith):
10081005
Global horizontal irradiance. See :term:`ghi`. [Wm⁻²]
10091006
10101007
solar_zenith : numeric
1011-
Solar apparent (refraction-corrected) zenith angles.
1012-
See :term:`solar_zenith`. [°]
1008+
Solar apparent (refraction-corrected) zenith angles. [°]
10131009
10141010
Returns
10151011
--------
@@ -1050,12 +1046,11 @@ def perez(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
10501046
Parameters
10511047
----------
10521048
surface_tilt : numeric
1053-
Surface tilt angle, must be >=0° and <=180°. See :term:`surface_tilt`.
1049+
Surface tilt angle. See :term:`surface_tilt`.
10541050
[°]
10551051
10561052
surface_azimuth : numeric
1057-
Surface azimuth angle, must be >=0° and <=360°.
1058-
See :term:`surface_azimuth`. [°]
1053+
Surface azimuth angle. See :term:`surface_azimuth`. [°]
10591054
10601055
dhi : numeric
10611056
Diffuse horizontal irradiance, must be >=0. [Wm⁻²]
@@ -1068,12 +1063,10 @@ def perez(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
10681063
Extraterrestrial normal irradiance. [Wm⁻²]
10691064
10701065
solar_zenith : numeric
1071-
apparent (refraction-corrected) zenith angle, must be >=0° and <=180°.
1072-
[°]
1066+
apparent (refraction-corrected) zenith angle. [°]
10731067
10741068
solar_azimuth : numeric
1075-
Solar azimuth angle, must be >=0° and <=360°.
1076-
See :term:`solar_azimuth`. [°]
1069+
Solar azimuth angle. See :term:`solar_azimuth`. [°]
10771070
10781071
airmass : numeric
10791072
Relative (not pressure-corrected) airmass values. If AM is a
@@ -1314,12 +1307,10 @@ def perez_driesse(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
13141307
Parameters
13151308
----------
13161309
surface_tilt : numeric
1317-
Surface tilt angle, must be >=0° and <=180°. See :term:`surface_tilt`.
1318-
[°]
1310+
Surface tilt angle. See :term:`surface_tilt`. [°]
13191311
13201312
surface_azimuth : numeric
1321-
Surface azimuth angle, must be >=0° and <=360°.
1322-
See :term:`surface_azimuth`. [°]
1313+
Surface azimuth angle. See :term:`surface_azimuth`. [°]
13231314
13241315
dhi : numeric
13251316
Diffuse horizontal irradiance, must be >=0. [Wm⁻²]
@@ -1332,12 +1323,10 @@ def perez_driesse(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
13321323
Extraterrestrial normal irradiance. [Wm⁻²]
13331324
13341325
solar_zenith : numeric
1335-
apparent (refraction-corrected) zenith angle, must be >=0° and <=180°.
1336-
[°]
1326+
apparent (refraction-corrected) zenith angle. [°]
13371327
13381328
solar_azimuth : numeric
1339-
Solar azimuth angle, must be >=0° and <=360°.
1340-
See :term:`solar_azimuth`. [°]
1329+
Solar azimuth angle. See :term:`solar_azimuth`. [°]
13411330
13421331
airmass : numeric, optional
13431332
Relative (not pressure-corrected) airmass values. If ``airmass`` is a
@@ -2210,7 +2199,7 @@ def dirindex(ghi, ghi_clear, dni_clear, zenith, times, pressure=101325.,
22102199
Renamed from ``dni_clearsky`` to ``dni_clear``.
22112200
22122201
zenith : array-like
2213-
True (not refraction-corrected) zenith angles, must be >=0° and <=180°.
2202+
True (not refraction-corrected) zenith angles.
22142203
If ``zenith`` is a vector, it must be of the same size as all other
22152204
vector inputs. See :term`solar_zenith`. [°]
22162205
@@ -3068,9 +3057,8 @@ def campbell_norman(zenith, transmittance, pressure=101325.0,
30683057
Parameters
30693058
----------
30703059
zenith: pd.Series
3071-
True (not refraction-corrected) zenith angles, must be >=0° and <=180°.
3072-
If ``zenith`` is a vector, it must be of the same size as all other
3073-
vector inputs. [°]
3060+
True (not refraction-corrected) zenith angles. If ``zenith`` is a vector, it
3061+
must be of the same size as all other vector inputs. [°]
30743062
30753063
transmittance: float
30763064
Atmospheric transmittance between 0 and 1.
@@ -3128,7 +3116,7 @@ def _liujordan(zenith, transmittance, airmass, dni_extra=1367.0):
31283116
zenith: pd.Series
31293117
True (not refraction-corrected) zenith angles in decimal
31303118
degrees. If Z is a vector it must be of the same size as all
3131-
other vector inputs. ``zenith`` must be >=0° and <=180°.
3119+
other vector inputs. [°]
31323120
31333121
transmittance: float
31343122
Atmospheric transmittance between 0 and 1.
@@ -3701,8 +3689,7 @@ def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
37013689
Diffuse horizontal irradiance. See :term:`dhi`. [Wm⁻²]
37023690
37033691
zenith : Series
3704-
True (not refraction-corrected) zenith angles, must be >=0° and <=180°.
3705-
See :term:`solar_zenith`. [°]
3692+
True (not refraction-corrected) zenith angles. See :term:`solar_zenith`. [°]
37063693
37073694
dni_clear : Series, optional
37083695
Clearsky direct normal irradiance. See :term:`dni_clear`. [Wm⁻²]
@@ -3776,9 +3763,8 @@ def complete_irradiance(solar_zenith,
37763763
----------
37773764
solar_zenith : series
37783765
Solar zenith angle, with datetime index.
3779-
Angles must be >=0° and <=180°. Must have the same datetime index
3780-
as ``ghi``, ``dhi``, and ``dni``, when available.
3781-
See :term:`solar_zenith`. [°]
3766+
AMust have the same datetime index as ``ghi``, ``dhi``, and ``dni``,
3767+
when available. See :term:`solar_zenith`. [°]
37823768
37833769
ghi : Series, optional
37843770
Pandas series of dni data [Wm⁻²], with datetime index. Must have the
@@ -3838,7 +3824,7 @@ def louche(ghi, solar_zenith, datetime_or_doy, max_zenith=90):
38383824
38393825
solar_zenith : numeric
38403826
True (not refraction-corrected) zenith angle.
3841-
Angles must be >=0° and <=90°. See :term:`solar_zenith`. [°]
3827+
See :term:`solar_zenith`. [°]
38423828
38433829
datetime_or_doy : numeric, pandas.DatetimeIndex
38443830
Day of year or array of days of year e.g.

0 commit comments

Comments
 (0)