Skip to content

Commit

Permalink
updated the disc default pressure to be in mbar
Browse files Browse the repository at this point in the history
  • Loading branch information
grantbuster committed Aug 8, 2022
1 parent d252371 commit 34e9e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion farms/disc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from farms import SOLAR_CONSTANT


def disc(ghi, sza, doy, pressure=101325, sza_lim=87):
def disc(ghi, sza, doy, pressure=1013.25, sza_lim=87):
"""Estimate DNI from GHI using the DISC model.
*Warning: should only be used for cloudy FARMS data.
Expand Down

0 comments on commit 34e9e4f

Please sign in to comment.