Kevin Anderson

Results 95 issues of Kevin Anderson

As mentioned by @wholmgren in https://github.com/pvlib/pvlib-python/issues/2326#issuecomment-2685685954, the new `pvlib.iotools.psm4` functions have long, very similar docstrings, which may be improved by using computed docstrings: > If we go with the separate...

documentation

> > To my mind, src is a separate discussion, and doesn't need to be done in https://github.com/pvlib/pvlib-python/pull/2277, if at all. > > I brought it up because it seems...

SciPy's [documentation](https://docs.scipy.org/doc/scipy/reference/optimize.html#scalar-functions) has this nice table comparing root finding methods: ![image](https://github.com/user-attachments/assets/62e42e6e-4a54-42d8-b5dd-adfd84b3aa1b) We should consider including similar tables in cases where pvlib provides semi-interchangeable alternatives, for example models for transposition, decomposition,...

documentation

The logic to flip around sensors in the afternoon relies on surface azimuth values being exactly `270.0`: https://github.com/NREL/bifacialvf/blob/107a7775cc263bfd641b369c01ad0dbd61a409f0/bifacialvf/bifacialvf.py#L551-L555 `sazm` does equal `270.0` sometimes, but other times it has values like...

bug

Closes #61 Using the same reproducer as #61 with this branch, the swapping is gone: ![image](https://github.com/user-attachments/assets/33120ad4-87a6-40d9-b5c8-069e4c9fe790) Disclaimer: I'm not very familiar at all with bifacialvf and have not evaluated the...

See https://github.com/pvlib/pvlib-python/issues/2511

ci

From https://github.com/pvlib/pvanalytics/actions/runs/16749387378/job/47415518403#step:5:62 ``` pvanalytics/tests/quality/test_outliers.py::test_zscore_all_same pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_at_end[h] pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_in_middle[h] pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_at_end[15min] pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_in_middle[15min] pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_at_end[1min] pvanalytics/tests/quality/test_time.py::test_shifts_ruptures_shift_in_middle[1min] /Users/runner/work/pvanalytics/pvanalytics/pvanalytics/quality/outliers.py:78: RuntimeWarning: Precision loss occurred in moment calculation due to catastrophic cancellation. This occurs when the data are nearly identical....

From https://github.com/pvlib/pvanalytics/actions/runs/16749387378/job/47415518403#step:5:48 ``` pvanalytics/tests/features/test_shading.py::test_fixed_no_shadows pvanalytics/tests/features/test_shading.py::test_fixed_same_index pvanalytics/tests/features/test_shading.py::test_simple_shadow /Users/runner/work/pvanalytics/pvanalytics/pvanalytics/features/shading.py:368: FutureWarning: `rectangle` is deprecated since version 0.25 and will be removed in version 0.27. Use `skimage.morphology.footprint_rectangle` instead. three_minute_mask = morphology.rectangle(1, 3) ```

Time to start thinking about the next release. Here's the current milestone list: https://github.com/pvlib/pvlib-python/milestone/54 I'd like to get these PRs merged: - [ ] #2491, if reviewers can be satisfied...

Release

- ~[ ] Closes #xxxx~ - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) - [x] Tests added - ~[ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes.~ - ~[...

io
remote-data