There is an XType extension providing GDD and other related parameters 
: https://github.com/roe-dl/weewx-GTS 

Le mardi 18 février 2025 à 05:46:04 UTC+1, Andrew McGinnis a écrit :

> There's a dearth of information on Growing Degree Days (GDD) for weewx.  
> Hopefully someone out there has done it.
>
> I see the [StdReport] [[Units]] [[[Groups]]] > 'group_degree_day', of 
> which 'growdeg' is a member.  
> https://weewx.com/docs/5.1/reference/units/?h=growdeg
>
> And I see [StdReport] [[Units]] [[[DegreeDays]]] > 'growing_base = 50.0, 
> degree_F'
>
> https://weewx.com/docs/5.1/reference/skin-options/units/?h=grow#growing_base
>
> And that's about it in terms of references to GDD.  
>
> GDD is a pretty simple calculation, done either with the average of (daily 
> High and daily Low) or the mean daily temperature, minus the base 
> temperature of 32F/0C for cool season zones or 50F/10C for warm season 
> zones. 
> There's an If/Else logic required to handle GDD that would be negative, 
> where IF(((HiF + LoF)/2)-50F) < 0, GDD = 0, ELSE GDD = ((HiF + LoF)/2)-50F) 
>
> [ or alternately, just $day.outTemp.avg - growing_base ]
>
> Within weewx, I can find $day.outTemp.avg, but how would I pull out GDD 
> for use in any of my templates? Is 'growdeg' available as a 
> software-derived observation and I'm just overlooking it, or is it 
> something I have to make in say, [[StdCalibrate]] > [[[Corrections]]] ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/99b72d4b-c341-4428-969e-07fa50f2fbe6n%40googlegroups.com.

Reply via email to