Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #5

Merged
merged 287 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
93a432f
Appease a few test warnings (#1645)
kandersolar Jan 24, 2023
afa47c4
Update PSM3 test data to 3.2.2 (#1652)
kandersolar Feb 1, 2023
9b12b36
update benchmark links (#1634)
kandersolar Feb 1, 2023
e7531b2
fix toctree locations for backreferences (#1630)
kandersolar Feb 1, 2023
25af865
[DOC] Removes LGTM Badges from README.md (#1651)
ooprathamm Feb 1, 2023
55e0577
Fix reverse mapping issue and undesirable column reordering in get_ps…
AdamRJensen Feb 2, 2023
a19b528
[ENH] extend iam.physical with optional n_ar parameter for AR coating…
kdebrab Feb 4, 2023
faf27fe
Fix read_ecmwf_macc test failure for cftime>=1.6.0 (#1656)
kandersolar Feb 4, 2023
7e88d21
Improvements and correction to snow.loss_townsend (#1653)
cwhanse Feb 6, 2023
f4d7c6e
Add FAQ entries for CEC vs Sandia module dbs and multi-inverter syste…
kandersolar Feb 17, 2023
f041355
Use explicit finite difference instead of scipy.misc.derivative in pv…
kandersolar Feb 27, 2023
7bb30ad
Extend `infinite_sheds` to optionally use haydavies transposition (#1…
spaneja Feb 28, 2023
bee329b
Add `model='gueymard2003'` to `get_relative_airmass` (#1655)
kandersolar Mar 9, 2023
bbc863d
add Boland DF estimation (#1179)
mikofski Mar 13, 2023
13744ca
Test pvsystem.singlediode against precisely generated IV curves (#1573)
reepoi Mar 15, 2023
db1111e
update copyright (#1692)
cwhanse Mar 15, 2023
f66cb91
use horner's method in disc (#1183)
mikofski Mar 16, 2023
ef8ad2f
Update adrinverter parameter database (#1695)
adriesse Mar 18, 2023
c1856ac
Vectorize `pvlib.bifacial.utils._vf_ground_sky_2d` across `surface_ti…
kandersolar Mar 18, 2023
7a2ec9b
Finalize 0.9.5 (#1699)
kandersolar Mar 18, 2023
4c24be0
Update get_psm3 interval description (#1712)
AdamRJensen Apr 8, 2023
b0ac666
Compatibility with pandas 2.0.0 (#1672)
kandersolar Apr 24, 2023
3def7e3
Make "data" argument required in `ModelChain.run_model_from_effective…
k10blogger May 1, 2023
06594f9
Update outdated nbviewer links (#1726)
kshitiz305 May 4, 2023
275e671
Clarify f_x (#1727)
cwhanse May 4, 2023
247d2f1
Update SoDa Pro / CAMS url (#1740)
AdamRJensen May 22, 2023
30c62e3
``get_psm3``: add optional ``url`` parameter and update default hourl…
kandersolar May 22, 2023
50e1998
Add map_variables parameter to read_tmy3 function (#1623)
ooprathamm May 24, 2023
26579be
Match `pvsystem.i_from_v`, `v_from_i` single diode parameters with `s…
reepoi May 24, 2023
909f86d
Rename `tilt` to `surface_tilt` in `soiling.hsu` (#1738)
kandersolar May 24, 2023
4101bb2
Adding PVGIS horizon data retrieval method (#1395)
bgpierc May 25, 2023
5119b42
Change surface_azimuth convention in get_pvgis_hourly (#1739)
AdamRJensen May 25, 2023
75d800a
Add encoding parameter to read_tmy3 (#1737)
AdamRJensen May 26, 2023
5596be3
Format equation text in ivtools/sde.py (#1750)
cwhanse May 26, 2023
ad832cd
Implement `pvlib.irradiance.louche` decomposition model (#1705)
Lakshyadevelops May 30, 2023
1c60a5d
Improve `pvlib.spa` speed (#1748)
kandersolar May 30, 2023
ef4e31b
Migrate to mamba-org/setup-micromamba (#1758)
d-watt Jun 1, 2023
5f6aef6
Remove ecmwf_macc functions (#1654)
AdamRJensen Jun 8, 2023
311781d
Docstring cleanup for `pvlib.ivtools` (#1765)
kandersolar Jun 9, 2023
ebf29a4
Migrate spectral modifier functions to pvlib.spectrum (#1628)
kandersolar Jun 9, 2023
40e9e97
fix recombination args in pvsystem.maximum_power_point (#1733)
mikofski Jun 10, 2023
0ec9181
Set map_variables=True in pvgis_tmy functions (#1772)
AdamRJensen Jun 13, 2023
100bc17
Add variable mapping to SRML iotools functions (#1773)
AdamRJensen Jun 13, 2023
9800c6f
Update 3.11 requirements files (#1774)
kandersolar Jun 15, 2023
763dd0a
`spectral_factor_firstsolar`: rename `pw` to `precipitable_water` (#1…
kandersolar Jun 15, 2023
81598e4
Fix typo in documentation pvlib.location.Location.get_get_sun_rise_se…
echedey-ls Jun 18, 2023
e643dc3
[FIX] iam.physical returns nan for aoi > 90° when n = 1 (#1706) (#1707)
kdebrab Jun 20, 2023
9d8ca55
Remove `pvlib.forecast` (#1766)
kandersolar Jun 23, 2023
6606af7
Remove v0.9.0 deprecations (#1771)
kandersolar Jun 23, 2023
bc0f0ff
Deprecate `pvsystem.singlediode` parameter `ivcurve_pnts` (#1743)
reepoi Jun 23, 2023
948d820
Implement Caballero et al. spectral factor model (#1296)
Jacc0027 Jun 23, 2023
14041cc
Make several undocumented functions private (#1769)
kandersolar Jun 23, 2023
209376e
ModelChainResult.__repr__ (#1236)
cwhanse Jun 23, 2023
964dc43
Correct infinite_sheds view factor from row to sky and ground; expose…
mikofski Jun 23, 2023
19467f3
Allow users to interact with root finders parameters (#1764)
echedey-ls Jun 23, 2023
0bc5a53
Matching Python types for return values of `pvsystem.calcparams_*` (#…
reepoi Jun 23, 2023
cfd9fcc
Prevent `v_oc` to be negative in `_lambertw` (#1782)
cedricleroy Jun 27, 2023
cfd6e78
Clarify PVWatts DC and inverter documentation (#1785)
cwhanse Jun 27, 2023
fa9dc9b
add orgill hollands decomposition (#1730)
nicorie Jun 29, 2023
81e5593
Add get_srml iotools function; deprecate read_srml_month_from_solarda…
AdamRJensen Jun 29, 2023
a506a47
Update outdated pvpmc.sandia.gov links in user guide (#1789)
reepoi Jun 29, 2023
9be4487
Add retrieval functions for daily precip, snow, and temperature data …
kandersolar Jun 29, 2023
4ac847f
Change input order of map_variables and url (#1795)
AdamRJensen Jun 30, 2023
6bf9e07
Finalize 0.10.0 (#1793)
kandersolar Jun 30, 2023
c063992
Replace `pvfactors` with `solarfactors` (#1797)
kandersolar Jul 5, 2023
3aa2c4d
Allow dates to be strings in iotools get functions (#1800)
AdamRJensen Jul 13, 2023
27bb4e5
Remove Stickler-CI integration files (#1723)
AdamRJensen Jul 19, 2023
23453b4
Python Flake8 linter workflow to replace stickler-ci (#1786)
reepoi Jul 31, 2023
996361d
Fix incorrect `ghi_clear` PSM3 request mapping (#1819)
kandersolar Aug 1, 2023
e762e8a
Infer thresholds for detect_clearsky (#1784)
ajonesr Aug 2, 2023
51910d1
Improve `schlick_diffuse` docstring (#1812)
kandersolar Aug 8, 2023
5c20c8c
Fix example in docstring pvsystem.py (#1833)
echedey-ls Aug 15, 2023
3e16ba9
Fix incorrect description of surface_azimuth parameter in get_pvgis_h…
tongpu Aug 22, 2023
d084baa
Update snow events parameter docs for Townsend snow loss model (#1840)
aturabi Aug 24, 2023
2d04aeb
Solve alleged twine warnings on pypi publishing (#1778)
echedey-ls Aug 25, 2023
0c66e09
Implement C1 continuous version of the Erbs diffuse-fraction/decompos…
adriesse Aug 26, 2023
80edabe
Nix `use_system_packages` in RTD config (#1846)
kandersolar Sep 6, 2023
f8b1294
Make interp IAM method available for modelchain (#1832)
echedey-ls Sep 8, 2023
29074f5
Lazify various calls to all() by using generators instead of comprehe…
eumiro Sep 12, 2023
d2fbfb2
Update `singlediode.bishop88` parameter types in docs (#1821)
reepoi Sep 12, 2023
27a3a07
`pvsystem.singlediode` with `method='newton'` can be passed `pd.Serie…
reepoi Sep 12, 2023
5f7109b
Allow PVSystems to be created with single Arrays (#1854)
kandersolar Sep 13, 2023
4237a67
Allow asymmetrical rotation limits in `pvlib.tracking.singleaxis` (v2…
kandersolar Sep 13, 2023
eb7b34a
Create `pvlib.iotools.read_panond` for reading .pan and .ond files (#…
ckrening Sep 13, 2023
664f884
Enhance description of unit_mass in prilliman temperature model (#1857)
AdamRJensen Sep 15, 2023
cb4c135
Fix typo in docstring of pvlib.temperature.fuentes (#1860)
echedey-ls Sep 15, 2023
7fe065f
Add manuscript files for 2023 JOSS publication (#1855)
kandersolar Sep 18, 2023
9b4317e
Add gallery example for simple irradiance adjustment for horizon shad…
spaneja Sep 19, 2023
7608eda
Update isotropic transposition references (#1864)
AdamRJensen Sep 20, 2023
ccfee19
Add loss input to example in modelchain.with_pvwatts docs (#1863)
AdamRJensen Sep 21, 2023
fc8eebb
`fit_pvefficiency_adr` compatibility with scipy 1.11.2 (#1866)
kandersolar Sep 21, 2023
bdd2b3a
Finalize 0.10.2 (#1868)
kandersolar Sep 21, 2023
b408741
Remove various repeated words in documentation (#1872)
eumiro Oct 3, 2023
6072e09
fix invalid escape sequence '\c' (#1879)
akeeman Oct 3, 2023
e36e50a
Replace use of deprecated `pkg_resources` (#1881) (#1882)
Peque Oct 4, 2023
46851d9
Update infinite_sheds.py to add shaded fraction to returned variables…
williamhobbs Oct 4, 2023
af8dde5
Continuous version of the Perez transposition model implementation (#…
adriesse Oct 16, 2023
49be5b5
Fix spurious test error with pandas 2.1 (#1891)
kandersolar Oct 17, 2023
63a2ca4
Fix plotting in plot_singlediode.py gallery page (#1895)
williamhobbs Oct 23, 2023
4e55d50
Address pandas FutureWarnings in test suite (#1900)
matsuobasho Nov 9, 2023
dd68286
Fix error in clear-sky user's guide docs page (#1915)
matsuobasho Nov 21, 2023
5394cb1
Create weather data/iotools page in User's Guide (#1754)
kandersolar Nov 22, 2023
ecd8256
Add doc notes about using quote marks on Mac when installing `optiona…
kandersolar Nov 28, 2023
c78ec3b
Edit project description in README, RTD, PyPI (#1913)
kandersolar Nov 29, 2023
dba9a9c
increase minimum scipy to 1.5.0 (#1919)
kandersolar Nov 29, 2023
73cff15
Fix temp_dew mapping in get_psm3 (#1920)
AdamRJensen Dec 1, 2023
4e99ddc
Skip failing SRML tests (#1921)
AdamRJensen Dec 1, 2023
6ff02e5
Add atand function (#1927)
AdamRJensen Dec 12, 2023
300aedc
Docstring cleanup: "default None", doi (#1828)
echedey-ls Dec 12, 2023
c18a004
Implement reverse transposition using Perez-Driesse forward transposi…
adriesse Dec 12, 2023
f430a74
Fix CAMS message error handler (#1905)
GillesFischerV Dec 12, 2023
304fbb5
Add python 3.12 to CI (#1886)
kandersolar Dec 12, 2023
ae84817
Fix and document clearsky_model for ModelChain (#1924)
cwhanse Dec 14, 2023
12ba8ee
Add functions to fit and convert IAM models (#1827)
ajonesr Dec 18, 2023
8057393
Address several numpy/pandas deprecation warnings; clean up test outp…
kandersolar Dec 19, 2023
da4110f
add functionality to load Solcast API data to `iotools` (#1875)
lorenzo-solcast Dec 20, 2023
ac70b14
Add functions to read and retrieve SolarAnywhere irradiance data (#1497)
AdamRJensen Dec 20, 2023
1601760
Finalize 0.10.3 (#1934)
kandersolar Dec 20, 2023
009e913
Remove download badges from README (#1941)
AdamRJensen Jan 15, 2024
b67a668
Update citation in pvlib readme (#1939)
AdamRJensen Jan 18, 2024
477c923
1759 resolve attrib error model chain (#1947)
matsuobasho Jan 23, 2024
6bb149f
Include pvarray in `__init__.py` (#1951)
kandersolar Jan 23, 2024
ffb86bb
Fix some broken links (#1957)
cwhanse Feb 1, 2024
859a7ce
Update get_ground_diffuse description (#1883)
AdamRJensen Feb 1, 2024
8efe6c4
Add Huld PV model (#1940)
cwhanse Feb 8, 2024
26acf8a
Fix more broken links (#1960)
cwhanse Feb 8, 2024
e92ee94
Correct usage of `xtol` in `ghi_from_poa_driesse_2023` (#1971)
echedey-ls Feb 12, 2024
780c3ab
Delete SPA_NOTICE.md (#1974)
kandersolar Feb 14, 2024
1e4d6f5
Fix various solar position calculations when `DatetimeIndex.unit` is …
kandersolar Feb 23, 2024
74e1fd1
Improve docstring for get_ground_diffuse (#1953)
cwhanse Feb 27, 2024
62de654
Enable numba and nrel-pysam in py3.12 anaconda environments (#1964)
kandersolar Feb 27, 2024
09cf445
Support PEP621 (#1910)
jules-ch Mar 5, 2024
33045d2
Have pvlib.iotools.read_solrad return metadata (#1968)
AdamRJensen Mar 5, 2024
923e025
Create `pvlib.iotools.get_solrad` (#1967)
kandersolar Mar 5, 2024
e5fa03c
Projected zenith convenience function (#1904)
echedey-ls Mar 8, 2024
c4a2b4b
Fix error message modelchain.infer_temperature_model error to be more…
matsuobasho Mar 11, 2024
3c7b5da
Add get_solargis iotools function (#1969)
AdamRJensen Mar 11, 2024
407687f
ASV: bump numpy and pandas versions to match new requirements (#1987)
kandersolar Mar 12, 2024
ee9b24a
Update SRML test url and re-enable tests (#1988)
AdamRJensen Mar 12, 2024
92c0e5b
Simplify and future-proof numba import in spa.py (#1944)
kandersolar Mar 13, 2024
c90cb4e
Add gallery example for OEDI system 9068 (#1985)
kandersolar Mar 18, 2024
f787047
Address pandas deprecation warnings (#1995)
kandersolar Mar 19, 2024
2f04c26
Finalize 0.10.4 (#1994)
kandersolar Mar 19, 2024
ccf74ea
Typo in plot_oedi_9068.py (#1996)
echedey-ls Apr 3, 2024
71da245
Update formatting of additional pvlib publications (#2011)
AdamRJensen Apr 13, 2024
c2ac022
Fix Windows/Conda CI error in test_singlediode.py (#2007)
echedey-ls Apr 15, 2024
3b3a38a
move Matlab references to history (#2012)
cwhanse Apr 16, 2024
ba458bd
Remove link to outdated tutorials (#2009)
AdamRJensen Apr 16, 2024
1d854e5
Minor improvements to "PV System Models" reference page (#2014)
kandersolar Apr 16, 2024
a49d143
Update codecov CI configuration to fix PR coverage uploads (#2022)
kandersolar Apr 29, 2024
25ec296
Codecov upload follow-up (#2024)
kandersolar Apr 29, 2024
8668a61
Numpy 2.0 compatibility (#2027)
kandersolar May 1, 2024
ad2e6ac
Fix silently ignoring file path in `pvsystem.retrieve_sam` when `name…
echedey-ls May 1, 2024
345b26f
More docs build fixes (#2030)
echedey-ls May 1, 2024
ec6fd33
Fix Ixx equation in pvsystem.sapm (#2019)
cwhanse May 2, 2024
0387b25
Get the asv benchmarking job working again (#2028)
kandersolar May 2, 2024
3230fea
Modify initial Voc for bishop88 functions (#2032)
cwhanse May 2, 2024
a673b85
Increase python requirement to >= 3.8 (#2029)
kandersolar May 3, 2024
3bfd0d5
Finalize 0.10.5 (#2035)
kandersolar May 6, 2024
60110b4
Add configuration options for math mode (#2056)
cwhanse May 22, 2024
80761af
Minor documentation rendering improvements (#2058)
kandersolar May 22, 2024
eeec98c
Issue #1697 Remove the function and all its reference poa_horizontal_…
k10blogger May 24, 2024
d53f97e
Shaded Fraction on Sloped Terrains - PR1725 partial continuation (#1962)
echedey-ls May 24, 2024
07d5c9f
Remove deprecated basic_chain method (#1862)
AdamRJensen May 26, 2024
ddb1c8e
Make leap_day=True default for PSM3 (new) (#1991)
AdamRJensen Jun 2, 2024
77c2051
Remove deprecated pvlib.iotools.read_srml_month_from_solardat functio…
AdamRJensen Jun 6, 2024
17aed3a
Update MIDC variable mapping (#2006)
AdamRJensen Jun 7, 2024
555b29a
Quantum efficiency & spectral response conversion funcs (#2041)
echedey-ls Jun 10, 2024
b147600
Change accuracy of `pvsyst_cell` test function (#2080)
IoannisSifnaios Jun 10, 2024
1f36160
Fix port of old-precision-decimal to present-atol in tests (#2082)
echedey-ls Jun 10, 2024
1ea8ee5
Add albedo function for inland water bodies (#2079)
IoannisSifnaios Jun 12, 2024
734ac82
No more default nones (#2084)
echedey-ls Jun 12, 2024
19c9598
Add PVSPEC spectral correction factor model (#2072)
RDaxini Jun 14, 2024
2d0ed71
Add extraterrestrial and direct spectra of ASTM G173-03 standard spec…
echedey-ls Jun 17, 2024
cc027e4
Set `map_variables=True` by default in PSM3 iotools functions (#2094)
kandersolar Jun 19, 2024
1eecaa3
Move albedo dictionary from `pvlib.irradiance` to `pvlib.albedo` (#2095)
IoannisSifnaios Jun 19, 2024
418d6d0
Add a simple transformer effficiency model to pvlib (#2053)
kurt-rhee Jun 19, 2024
229a187
Agrivoltaics - PAR diffuse fraction model (#2048)
echedey-ls Jun 20, 2024
3f2daab
Add JRC spectral factor correction (#2088)
RDaxini Jun 20, 2024
35599e7
Martinez shading factor (#2070)
echedey-ls Jun 21, 2024
d21c1b3
Add hint about Perez discontinuities (#2098)
AdamRJensen Jun 21, 2024
3d778ea
Update colorbar tick names in sunpath gallery example (#2097)
AdamRJensen Jun 21, 2024
c6547b5
Adding altitude lookup for Location class (#1850)
nicomt Jun 21, 2024
4b1ba1d
`pvlib.pvsystem.singlediode`: remove deprecated `ivcurve_pnts` parame…
kandersolar Jun 21, 2024
dd2dafc
Finalize v0.11.0 (#2102)
kandersolar Jun 21, 2024
55e0a36
Create and list whatsnew page for v0.11.1 (#2103)
kandersolar Jun 21, 2024
13ef8f4
Fix cut-off label text in gallery example figure (#2109)
IoannisSifnaios Jun 27, 2024
c7b8b00
Broken GitHub links from gallery examples (#2111)
IoannisSifnaios Jul 1, 2024
8d172c4
NREL non-uniform irradiance mismatch loss for bifacial modules (#2046)
echedey-ls Jul 1, 2024
99619e8
Update spectral_factor_sapm docs (#2116)
RDaxini Jul 3, 2024
2e8f576
edit copyright statement in RTD (#2119)
cwhanse Jul 8, 2024
6f5afa9
Floating PV gallery example (#2110)
IoannisSifnaios Jul 8, 2024
b6c795d
Add spectral factor gallery example (#2114)
RDaxini Jul 9, 2024
4354eb9
Update `spectral_factor_sapm` docstring returns statement (#2122)
RDaxini Jul 9, 2024
048b70f
improve Location docstrings (#2123)
kandersolar Jul 10, 2024
8e2bc91
Bump docs infraestructure (#2112)
echedey-ls Jul 14, 2024
0d09130
removed duplicate import of datetime (#2134)
PhilBrk8 Jul 17, 2024
2e9c2c0
update spectral_factor_firstsolar (#2100)
RDaxini Jul 17, 2024
899b10c
Remove warnings in docs (#2128)
echedey-ls Jul 22, 2024
83d90eb
changed w to omega in tracking.py's singleaxis function (#2146)
kurt-rhee Jul 26, 2024
f6b1d2a
Function to estimate wind speed at different heights (#2124)
IoannisSifnaios Aug 5, 2024
72185cb
restructure pvlib/spectrum (#2136)
RDaxini Aug 5, 2024
b2a82f1
Split test_spectrum.py (#2151)
RDaxini Aug 7, 2024
ee4f218
Removed unused input as shown in issue #2105 (#2156)
JoseMezaMendieta Aug 7, 2024
599c5d9
style(pvlib.data.variables_style_rules.csv): fixed power typo (#2157)
Metal-Bat Aug 7, 2024
5e43be7
NREL mismatch loss addendum (#2147)
echedey-ls Aug 8, 2024
cd9cb9a
Create function to calculate average photon energy (#2140)
RDaxini Aug 14, 2024
0428fbe
Perez coeff ModelChain example (#2148)
bgpierc Aug 15, 2024
b5e89be
coerce and rotate pvgis TMY data to desired tz and year (#2138)
mikofski Aug 16, 2024
e2b1d9b
fix typo on calcparams_desoto help (#2174)
EduardoSarquis Aug 22, 2024
a4c4c21
typo fixing of pvwatts_dc (#2175)
BernatNicolau Aug 26, 2024
cbfa292
Fix Returns text in `solarposition.ephemeris` (#2182)
BernatNicolau Aug 28, 2024
aaf42f6
Plot limits added in docs\examples\iv-modeling\plot_singlediode.py (#…
BernatNicolau Aug 28, 2024
a2abe3e
`get_sky_diffuse` documentation updated (`ValueError` description) (#…
BernatNicolau Aug 28, 2024
e59d2b8
Fixed typo (#2178)
marc-resc Aug 29, 2024
9dfcf45
Miscellaneous improvements to `spectrl2` docstring (#2168)
RDaxini Aug 30, 2024
524fa55
Spelling fix on "/pvlib/clearsky.py" documentation (#2176)
cardenca Sep 3, 2024
a14e95e
Add reference to `tracking.singleaxis` (#2198)
RDaxini Sep 9, 2024
3837f54
fix a typo at the singlediode function (#2179)
luizreiscver Sep 11, 2024
def8c87
Miscellaneous updates to spectrl2 gallery example (#2208)
RDaxini Sep 11, 2024
5aa9ba1
Update variables_style_rules.csv (#2164)
RDaxini Sep 11, 2024
136cf47
Update virtual environment guide URL on contributing page (#2200)
RDaxini Sep 16, 2024
5d23f14
fix linter issues in `conf.py` (#2214)
RDaxini Sep 17, 2024
d6baf97
Implemented closed-form solution in `detect_clearsky` (#2217)
agodbehere Sep 23, 2024
d8ea82b
Fix examples of shaded_fraction1d (#2215)
echedey-ls Sep 23, 2024
e80355e
Remove warning message for `num_threads` in `pvlib.spa` (#2170)
kandersolar Sep 23, 2024
339e6aa
Split `contributing.rst` (#2219)
RDaxini Sep 23, 2024
d45790a
Perform dayofyear-based calculations according to UTC, not local time…
yhkee0404 Sep 24, 2024
ad89390
Update irradiance.haydavies docs; use Wm⁻² instead of W/m^2 throughou…
RDaxini Sep 24, 2024
cc700f9
add `spectrum.average_photon_energy` gallery example (#2206)
RDaxini Sep 24, 2024
52afdcf
Remove Python version 3.8 (#2213)
AdamRJensen Sep 25, 2024
c6ba6ed
Update PVGIS TMY tests and files (#2222)
AdamRJensen Sep 26, 2024
f4fa92e
Update GH action versions (#2223)
AdamRJensen Sep 26, 2024
94c3fc5
Update irradiance.klucher docs (#2192)
RDaxini Sep 26, 2024
5803ce3
Allow `delta_t` to be array in SPA functions (#2190)
kandersolar Sep 26, 2024
68315e4
Finalize v0.11.1 (#2225)
kandersolar Sep 26, 2024
0f324ab
Create and list whatsnew page for v0.11.2 (#2228)
kandersolar Sep 26, 2024
4cfda4a
Revise dc_ohmic_loss and dc_ohms_from_percent docstrings (#2229)
cwhanse Sep 27, 2024
29b1f86
fix typos in #2229 (#2236)
cwhanse Oct 1, 2024
8767004
update irradiance.reindl docs (#2193)
RDaxini Oct 4, 2024
cbe4cc5
Update README.md (#2240)
mikofski Oct 6, 2024
36d6f74
Update the "testing" section header (#2257)
AdamRJensen Oct 11, 2024
d9acdba
Miscellaneous `iam.py` docstring updates (#2251)
RDaxini Oct 15, 2024
b6ac5a1
[MAINT]: Decorator to warn about changed parameter names & allow for …
echedey-ls Oct 15, 2024
1c65dca
`aoi` definition in variables_style_rules.csv (#2247)
RDaxini Oct 18, 2024
254d82f
[MAINT]: Partially move `test_conftest` to `test__deprecation` (#2262)
echedey-ls Oct 19, 2024
5db4fbd
Create update_top_ranking_issues.py
AdamRJensen Oct 19, 2024
972c3ae
Create top_ranked_issue.yml
AdamRJensen Oct 19, 2024
7d15199
Update update_top_ranking_issues.py
AdamRJensen Oct 19, 2024
b533057
Merge pull request #4 from AdamRJensen/test_cron_script
AdamRJensen Oct 19, 2024
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
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
- [ ] Closes #xxxx
- [ ] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html)
- [ ] Tests added
- [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/master/docs/sphinx/source/reference) for API changes.
- [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/master/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``).
- [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes.
- [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``).
- [ ] New code is fully documented. Includes [numpydoc](https://numpydoc.readthedocs.io/en/latest/format.html) compliant docstrings, examples, and comments where necessary.
- [ ] Pull request is nearly complete and ready for detailed review.
- [ ] Maintainer: Appropriate GitHub Labels (including `remote-data`) and Milestone are assigned to the Pull Request and linked Issue.
Expand Down
33 changes: 23 additions & 10 deletions .github/workflows/asv_check.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,47 @@
name: asv

# CI ASV CHECK is aimed to verify that the benchmarks execute without error.
on: [pull_request, push]
on:
push:
branches:
- main
pull_request:


jobs:
quick:
quick-benchmarks:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.9.7'
python-version: '3.9'

- name: Install asv
run: pip install asv==0.4.2

# asv 0.4.2 (and more recent versions as well) creates conda envs
# using the --force option, which was removed in conda 24.3.
# Since ubuntu-latest now comes with conda 24.3 pre-installed,
# using the system's conda will result in error.
# To prevent that, we install an older version.
# TODO: remove this when we eventually upgrade our asv version.
# https://github.com/airspeed-velocity/asv/issues/1396
- name: Install Conda
uses: conda-incubator/setup-miniconda@v3
with:
conda-version: 24.1.2

- name: Run asv benchmarks
run: |
cd benchmarks
asv machine --yes
asv run HEAD^! --quick --dry-run --show-stderr | sed "/failed$/ s/^/##[error]/" | tee benchmarks.log
if grep "failed" benchmarks.log > /dev/null ; then
exit 1
fi

asv run HEAD^! --quick --dry-run --show-stderr
17 changes: 17 additions & 0 deletions .github/workflows/flake8-linter-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "flake8-linter-error",
"severity": "error",
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+):\\s+([EWCNF]\\d+\\s+.+)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
]
}
]
}
27 changes: 27 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python Flake8 Linter
on:
pull_request:
jobs:
flake8-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Install Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Flake8 5.0.4 linter
run: pip install flake8==5.0.4 # use this version for --diff option
- name: Setup Flake8 output matcher for PR annotations
run: echo '::add-matcher::.github/workflows/flake8-linter-matcher.json'
- name: Fetch pull request target branch
run: |
git remote add upstream https://github.com/pvlib/pvlib-python.git
git fetch upstream $GITHUB_BASE_REF
- name: Run Flake8 linter
run: git diff upstream/$GITHUB_BASE_REF HEAD -- "*.py" | flake8
--exclude pvlib/version.py
--ignore E201,E241,E226,W503,W504
--max-line-length 79
--diff
14 changes: 9 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main
tags:
- "v*"

Expand All @@ -15,27 +15,31 @@ jobs:
runs-on: ubuntu-latest
steps:
# fetch all commits and tags so versioneer works
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Install build tools
run: |
python -m pip install --upgrade pip
python -m pip install build
python -m pip install twine

- name: Build packages
run: python -m build

- name: Check metadata verification
run: python -m twine check --strict dist/*

# only publish distribution to PyPI for tagged commits
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
password: ${{ secrets.pypi_password }}
24 changes: 13 additions & 11 deletions .github/workflows/pytest-remote-data.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# A secondary test job that only runs the iotools tests if explicitly requested
# (for pull requests) or on a push to the master branch.
# (for pull requests) or on a push to the main branch.
# Because the iotools tests require GitHub secrets, we need to be careful about
# malicious PRs accessing the secrets and exposing them externally.
#
Expand Down Expand Up @@ -48,36 +48,36 @@ on:
types: [labeled]
push:
branches:
- master
- main

jobs:
test:

strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.9, "3.10", "3.11", "3.12"]
suffix: [''] # the alternative to "-min"
include:
- python-version: 3.7
- python-version: 3.9
suffix: -min

runs-on: ubuntu-latest
if: (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'remote-data')) || (github.event_name == 'push')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: github.event_name == 'pull_request_target'
# pull_request_target runs in the context of the target branch (pvlib/master),
# pull_request_target runs in the context of the target branch (pvlib/main),
# but what we need is the hypothetical merge commit from the PR:
with:
ref: "refs/pull/${{ github.event.number }}/merge"

- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: github.event_name == 'push'

- name: Set up conda environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test_env
environment-file: ${{ env.REQUIREMENTS }}
Expand All @@ -100,12 +100,14 @@ jobs:
SOLARANYWHERE_API_KEY: ${{ secrets.SOLARANYWHERE_API_KEY }}
BSRN_FTP_USERNAME: ${{ secrets.BSRN_FTP_USERNAME }}
BSRN_FTP_PASSWORD: ${{ secrets.BSRN_FTP_PASSWORD }}
run: pytest pvlib/tests/iotools pvlib/tests/test_forecast.py --cov=./ --cov-report=xml --remote-data
run: pytest pvlib/tests/iotools --cov=./ --cov-report=xml --remote-data

- name: Upload coverage to Codecov
if: matrix.python-version == 3.7 && matrix.suffix == ''
uses: codecov/codecov-action@v2
if: matrix.python-version == 3.9 && matrix.suffix == ''
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
flags: remote-data # flags are configured in codecov.yml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
26 changes: 15 additions & 11 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
test:
strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.9, "3.10", "3.11", "3.12"]
environment-type: [conda, bare]
suffix: [''] # placeholder as an alternative to "-min"
include:
- os: ubuntu-latest
python-version: 3.7
python-version: 3.9
environment-type: conda
suffix: -min
exclude:
Expand All @@ -31,7 +31,7 @@ jobs:
steps:
# We check out only a limited depth and then pull tags to save time
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 100

Expand All @@ -40,12 +40,14 @@ jobs:

- name: Install Conda environment with Micromamba
if: matrix.environment-type == 'conda'
uses: mamba-org/provision-with-micromamba@v12
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ${{ env.REQUIREMENTS }}
cache-downloads: true
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
condarc: |
channel-priority: flexible
env:
# build requirement filename. First replacement is for the python
# version, second is to add "-min" if needed
Expand All @@ -58,7 +60,7 @@ jobs:

- name: Install bare Python ${{ matrix.python-version }}${{ matrix.suffix }}
if: matrix.environment-type == 'bare'
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -76,13 +78,15 @@ jobs:
- name: Run tests
shell: bash -l {0} # necessary for conda env to be active
run: |
# ignore iotools & forecast; those tests are run in a separate workflow
pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools --ignore=pvlib/tests/test_forecast.py
# ignore iotools; those tests are run in a separate workflow
pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools

- name: Upload coverage to Codecov
if: matrix.python-version == 3.7 && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
uses: codecov/codecov-action@v2
if: matrix.python-version == 3.9 && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
flags: core # flags are configured in codecov.yml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/top_ranked_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: top_ranked_issues

on:
pull_request: # for testings purposes, should be removed
schedule:
# Runs every day at 3:00 AM UTC
- cron: '0 3 * * *'

jobs:
run-script:
runs-on: ubuntu-latest

# Define GitHub access token
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}


steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install github

# Run a sample script
- name: Run Script
run: |
python ./scripts/update_top_ranking_issues.py
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ pvlib/spa_c_files/spa_tester.c

# generated documentation
docs/sphinx/source/reference/generated
docs/sphinx/source/reference/*/generated
docs/sphinx/source/savefig
docs/sphinx/source/gallery
docs/sphinx/source/sg_execution_times.rst

# Installer logs
pip-log.txt
Expand Down
3 changes: 0 additions & 3 deletions .lgtm.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .stickler.yml

This file was deleted.

Loading
Loading