Skip to content

Commit a96557f

Browse files
committed
add internal reference
1 parent c6b93be commit a96557f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/sphinx/source/user_guide/modeling_topics/clearsky.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ wavelengths [Bir80]_, and is implemented in
256256
In [1]: plt.tight_layout()
257257

258258

259+
.. _clearsky-examples:
259260
Examples
260261
^^^^^^^^
261262

@@ -281,7 +282,6 @@ A clear sky time series using only basic pvlib functions.
281282

282283
In [1]: dni_extra = pvlib.irradiance.get_extra_radiation(times)
283284

284-
# an input is a pandas Series, so solis is a DataFrame
285285
In [1]: ineichen = clearsky.ineichen(apparent_zenith, airmass, linke_turbidity, altitude, dni_extra)
286286

287287
In [1]: plt.figure();

pvlib/clearsky.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def ineichen(apparent_zenith, airmass_absolute, linke_turbidity,
8787
8888
Examples
8989
--------
90-
https://pvlib-python.readthedocs.io/en/stable/user_guide/modeling_topics/clearsky.html#examples
90+
See :ref:`Clearsky modeling examples <clearsky-examples>`
9191
9292
''' # noqa: E501
9393

0 commit comments

Comments
 (0)