From 34e9e4fcf1b01a63fd660fc4ae4e3e41d6227b92 Mon Sep 17 00:00:00 2001 From: grantbuster Date: Mon, 8 Aug 2022 15:58:04 -0600 Subject: [PATCH] updated the disc default pressure to be in mbar --- farms/disc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/farms/disc.py b/farms/disc.py index c086878..b3d0e71 100644 --- a/farms/disc.py +++ b/farms/disc.py @@ -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.