Skip to content

Commit

Permalink
Fix typo in get_effective_aerosol_wavelength
Browse files Browse the repository at this point in the history
  • Loading branch information
pingswept committed May 3, 2015
1 parent 20564e6 commit c9d8897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysolar/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_effective_aerosol_wavelength(band, ma, turbidity_alpha, turbidity_beta):
e1 = (-0.50003 - 0.18329 * a2 + 0.23835 * a2 ** 2) / (1 + 1.6756 * a2)
e2 = (-0.50001 + 1.1414 * a2 + 0.0083589 * a2 ** 2) / (1 + 11.168 * a2)
e3 = (-0.70003 - 0.73587 * a2 + 0.51509 * a2 ** 2) / (1 + 4.7665 * a2)
return (e0 + e1 * ua + e2 * ua ** 2) / (1 + e3 * ua ** 2)
return (e0 + e1 * ua + e2 * ua ** 2) / (1 + e3 * ua)


def get_gas_transmittance(band, mRprime):
Expand Down

0 comments on commit c9d8897

Please sign in to comment.