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
* add test for hour_angle, vectorize
* closes#598 vectorize to make it more efficient
* closes#597 add test
Signed-off-by: Mark Mikofski <[email protected]>
* BUG: use np.int64 works better for older numpy version than python int
* also converting times to int before subtracting works better for older
pandas versions which were not calculating the timedeltas correctly
* remove comment with missing space after hash, add FIXME that explains
why the expected values are slightly different than the SPA calculator
output
* fix hanging indent
* BUG: replace utcoffset() with reliable, efficient approach ...
* ... suggested by @wholmgren (thx!)
* utcoffset() is unpredictable when used with pandas datetime indices
* only predictable with Python datetime objects or pandas Timestamps
* instead replace tzinfo with None to get naive local times, and
calculate difference from tz-aware times to get timezones
* BUG: combine arithmetic to make calculation more efficient
* also use asarray wrapper at return to ensure consistency
* add comments to explain to future maintainers
* stickler
* remove try-except, doesn't work anyway, wait for pandas >=0.15.0
0 commit comments