Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/sphinx/source/whatsnew/v0.15.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Requirements

Maintenance
~~~~~~~~~~~
* Removed unused internal function ``clearsky._is_leap_year`` (:issue:`2768`, :pull:`2813`)
* Fix documentation builds on runner images lacking link-type timezones. (:issue:`2795`, :pull:`2809`)


Expand All @@ -50,3 +51,4 @@ Contributors
* Eesh Saxena (:ghuser:`eeshsaxena`)
* Karl Hill (:ghuser:`karlhillx`)
* Yonry Zhu (:ghuser:`yonryzhu`)
* Darshan Gowda (:ghuser:`dgowdaan-cmyk`)
16 changes: 0 additions & 16 deletions pvlib/clearsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,22 +220,6 @@ def lookup_linke_turbidity(time, latitude, longitude, filepath=None,
return linke_turbidity


def _is_leap_year(year):
"""Determine if a year is leap year.

Parameters
----------
year : numeric

Returns
-------
isleap : array of bools
"""
isleap = ((np.mod(year, 4) == 0) &
((np.mod(year, 100) != 0) | (np.mod(year, 400) == 0)))
return isleap


def _interpolate_turbidity(lts, time):
"""
Interpolated monthly Linke turbidity onto daily values.
Expand Down
Loading