Closed
Description
The ET radiation calculator needs the "day angle" of the Earth's position in its orbit around the Sun. Our extraradiation function and the matlab pvl_extraradiation calculate the angle as:
B = (2. * pi / 365.) * doy
Assuming that doy is a value between 1 and 365, I believe it should be
B = (2. * pi / 365.) * (doy - 1)
The disc and pvl_disc functions use the (doy-1) formula.