From 353d7cec24475164113fba4b6f047dbd7d96921e Mon Sep 17 00:00:00 2001 From: Naman Priyadarshi <77211855+Naman-Priyadarshi@users.noreply.github.com> Date: Mon, 15 Aug 2022 00:14:49 +0530 Subject: [PATCH 1/3] Update tracking.py Removed `time_tracker_singleaxis` function from the benchmark file --- benchmarks/benchmarks/tracking.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/benchmarks/benchmarks/tracking.py b/benchmarks/benchmarks/tracking.py index a0e5a45115..b892c92137 100644 --- a/benchmarks/benchmarks/tracking.py +++ b/benchmarks/benchmarks/tracking.py @@ -28,8 +28,4 @@ def time_singleaxis(self): max_angle=60, backtrack=True, gcr=0.45) - - def time_tracker_singleaxis(self): - with np.errstate(invalid='ignore'): - self.tracker.singleaxis(self.solar_position.apparent_zenith, - self.solar_position.azimuth) + From 66d2b2850e3ced8146ee5320ec443ce6880a3c12 Mon Sep 17 00:00:00 2001 From: Naman Priyadarshi <77211855+Naman-Priyadarshi@users.noreply.github.com> Date: Mon, 15 Aug 2022 00:27:20 +0530 Subject: [PATCH 2/3] Update v0.9.2.rst Updated whatsnew as per community guidelines --- docs/sphinx/source/whatsnew/v0.9.2.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sphinx/source/whatsnew/v0.9.2.rst b/docs/sphinx/source/whatsnew/v0.9.2.rst index 0bd50ab3f5..891fb387b9 100644 --- a/docs/sphinx/source/whatsnew/v0.9.2.rst +++ b/docs/sphinx/source/whatsnew/v0.9.2.rst @@ -48,6 +48,7 @@ Benchmarking * Updated version of numba in asv.conf from 0.36.1 to 0.40.0 to solve numba/numpy conflict. (:issue:`1439`, :pull:`1440`) * Added benchmarks for the `pvlib.scaling` module (:pull:`1445`) * Added a basic CI asv check (:issue:`1446`, :pull:`1454`) +* Removed ``time_tracker_singleaxis`` function from tracking.py (:issue:`1508`, :pull:`1525`) Requirements ~~~~~~~~~~~~ From 25c415443566d5597bacaa901f7e52f500f9ecb3 Mon Sep 17 00:00:00 2001 From: Naman Priyadarshi <77211855+Naman-Priyadarshi@users.noreply.github.com> Date: Mon, 15 Aug 2022 00:29:42 +0530 Subject: [PATCH 3/3] Removed white spaces from tracking.py --- benchmarks/benchmarks/tracking.py | 1 - 1 file changed, 1 deletion(-) diff --git a/benchmarks/benchmarks/tracking.py b/benchmarks/benchmarks/tracking.py index b892c92137..6292b117c6 100644 --- a/benchmarks/benchmarks/tracking.py +++ b/benchmarks/benchmarks/tracking.py @@ -28,4 +28,3 @@ def time_singleaxis(self): max_angle=60, backtrack=True, gcr=0.45) -