Skip to content

Commit 6cfaba7

Browse files
committed
Update irradiance.py
1 parent dc5f001 commit 6cfaba7

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

pvlib/irradiance.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ def get_extra_radiation(datetime_or_doy, solar_constant=1366.1,
6464
-------
6565
dni_extra : float, array, or Series
6666
The extraterrestrial radiation normal to the sun.
67-
Pandas Timestamp and DatetimeIndex inputs will yield a Pandas
68-
TimeSeries. All other inputs will yield a float or an array of floats.
67+
Pandas Timestamp and DatetimeIndex inputs for ``datetime_or_doy``
68+
will return ``dni_extra`` as a Pandas TimeSeries. All other input
69+
data types will yield ``dni_extra`` as a float or an array of floats.
6970
See :term:`dni_extra`. [Wm⁻²]
7071
7172
References
@@ -1796,9 +1797,7 @@ def disc(ghi, solar_zenith, datetime_or_doy, pressure=101325,
17961797
pd.DatetimeIndex.dayofyear, or pd.DatetimeIndex.
17971798
17981799
pressure : numeric or None, default 101325
1799-
Site pressure. Uses absolute (pressure-corrected) airmass
1800-
by default. Set to ``None`` to use relative airmass. See
1801-
:term:`pressure`. [Pa]
1800+
Site pressure. See :term:`pressure`. [Pa]
18021801
18031802
min_cos_zenith : numeric, default 0.065
18041803
Minimum value of cos(zenith) to allow when calculating global
@@ -2310,9 +2309,7 @@ def gti_dirint(poa_global, aoi, solar_zenith, solar_azimuth, times,
23102309
Surface azimuth angles, see :term:`surface_azimuth`. [°]
23112310
23122311
pressure : numeric, default 101325.0
2313-
The site pressure in Pascal. Pressure may be measured or an
2314-
average pressure may be calculated from site altitude. See
2315-
:term:`pressure`. [Pa]
2312+
Site air pressure. See :term:`pressure`. [Pa]
23162313
23172314
use_delta_kt_prime : bool, default True
23182315
If True, indicates that the stability index delta_kt_prime is
@@ -2963,8 +2960,8 @@ def boland(ghi, solar_zenith, datetime_or_doy, a_coeff=8.645, b_coeff=0.613,
29632960
:term:`solar_zenith`. [°]
29642961
29652962
datetime_or_doy : numeric or pd.DatetimeIndex.
2966-
Day of year or array of days of year e.g. pd.DatetimeIndex.dayofyear,
2967-
or pd.DatetimeIndex.
2963+
Day of year or array of days of year e.g. pd.DatetimeIndex.dayofyear,
2964+
or pd.DatetimeIndex.
29682965
29692966
a_coeff : float, default 8.645
29702967
Logistic curve fit coefficient.
@@ -3765,7 +3762,7 @@ def complete_irradiance(solar_zenith,
37653762
----------
37663763
solar_zenith : series
37673764
Solar zenith angle, with datetime index.
3768-
AMust have the same datetime index as ``ghi``, ``dhi``, and ``dni``,
3765+
Must have the same datetime index as ``ghi``, ``dhi``, and ``dni``,
37693766
when available. See :term:`solar_zenith`. [°]
37703767
37713768
ghi : Series, optional

0 commit comments

Comments
 (0)