pytest for new setaxis
setaxis now sets sunposition to 1 degree for hours with sun's altitude below 0 but with DNI and/or DHI values. so now there are a lot more times in the year where the sun is at 1 degree.
@@ -34,7 +34,8 @@ def test_RadianceObj_set1axis():
demo = bifacial_radiance.RadianceObj(name)
demo.readEPW(epwfile = MET_FILENAME)
trackerdict = demo.set1axis()
- #assert trackerdict[0]['count'] == 75 #this was 108 in v0.2.4 and earlier. Now it's huge because of the increase in 89 degree zenith angle points
+ assert trackerdict[0]['count'] == 2441 # this was 75 on v0.2.4, and 108 in v0.2.4 and earlier
+# assert trackerdict[0]['count'] == 75 #this was 108 in v0.2.4 and earlier
assert trackerdict[45]['count'] == 823
def test_RadianceObj_fixed_tilt_end_to_end():
