make argument ordering consistent with calc_sun_parms