You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, that mask is not actually used anywhere today. It used to be, but it looks like it stopped being used in #84 during the switch from iterative to vectorized code.
I think the underlying concept may still be useful even in the current vectorized approach, so I think it's probably worth seeing if we can start using it again somehow, otherwise it should just be deleted IMHO.
The text was updated successfully, but these errors were encountered:
Thanks for catching this @kanderso-nrel !
Looks like I missed this part when updating things. I'm generally of the opinion of deleting dead code, and we can always find it again in the git history if necessary.
PVEngine creates a mask indicating values that need not be considered in the calculation:
pvfactors/pvfactors/engine.py
Lines 170 to 175 in 21d4865
However, that mask is not actually used anywhere today. It used to be, but it looks like it stopped being used in #84 during the switch from iterative to vectorized code.
I think the underlying concept may still be useful even in the current vectorized approach, so I think it's probably worth seeing if we can start using it again somehow, otherwise it should just be deleted IMHO.
The text was updated successfully, but these errors were encountered: