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
Should be an easy fix, I will try to submit something today, and obviously since these edge cases are north and south poles, I don't think that this issue occurs very often if ever - nevertheless, it should be handled gracefully.
The text was updated successfully, but these errors were encountered:
mikofski
added a commit
to mikofski/pvlib-python
that referenced
this issue
Nov 15, 2016
* set minimum index as 0 not 1
* adjust _linearly_scale so that is increments are 5 minutes or 1/12 of an
arcdegree from the centers of neighboring indices
* this fixes the out of bounds error for latitudes or longitudes at the
limits of the range
* move _linearly_scale to be right after lookup_linke_turbidity
* add link to pdf on AOD and LT from MeteoTest
* raise IndexError if outputmatrix is more than half an index outside of
the limits
Signed-off-by: Mark Mikofski <[email protected]>
* fix#263 and #262
* set minimum index as 0 not 1
* adjust _linearly_scale so that is increments are 5 minutes or 1/12 of an
arcdegree from the centers of neighboring indices
* this fixes the out of bounds error for latitudes or longitudes at the
limits of the range
* move _linearly_scale to be right after lookup_linke_turbidity
* add link to pdf on AOD and LT from MeteoTest
* raise IndexError if outputmatrix is more than half an index outside of
the limits
Signed-off-by: Mark Mikofski <[email protected]>
* unset debug logging
Signed-off-by: Mark Mikofski <[email protected]>
* remove logging and use pytest with raises context
Signed-off-by: Mark Mikofski <[email protected]>
* all test passing now
Signed-off-by: Mark Mikofski <[email protected]>
* fixes#265
* use calendar month days instead of approximation of monthly middles
* also account for leap years
* if all years are leap years, or not any are leap years, use fast interp,
otherwise loop and interpolate each timestamp
* add _leapyear tests and update expected values for new interpolated
Linke turbidity factors
Signed-off-by: Mark Mikofski <[email protected]>
* update expected values for test_location.test_get_clearsky
Signed-off-by: Mark Mikofski <[email protected]>
* update test_modelchain.py with new expected values for PR #264
Signed-off-by: Mark Mikofski <[email protected]>
* add (at)requires_scipy and update whatsnew v0.4.2
Signed-off-by: Mark Mikofski <[email protected]>
Some of the edge cases don't work:
Should be an easy fix, I will try to submit something today, and obviously since these edge cases are north and south poles, I don't think that this issue occurs very often if ever - nevertheless, it should be handled gracefully.
The text was updated successfully, but these errors were encountered: