Hi
I am working on adding some additional detail to the daily NOAA reports, specifically trying to add heating and cooling days. So far I have been able to get the heating and cooling days on a per day basis using the following:
However when attempting to get the monthly totals using the below the expression does not fully evaluate:
Here is what is returned:The mavg value is populated but the expression never evaluates and the [DD] shows a "1" when it should show a "9" since today is March 9, 2024
When running this in my browser:I get the expected result.
Just curious if I am simply missing something or a possible bug might exist.
g
I am working on adding some additional detail to the daily NOAA reports, specifically trying to add heating and cooling days. So far I have been able to get the heating and cooling days on a per day basis using the following:
Code:
#if#{*[th0temp-avg=F]<65*}#then#{*round( 65-[th0temp-avg=F])*00}#else#0#fi#
Code:
#if#{*[th0temp-avg=F]>65*}#then#{*round([th0temp-avg=F]-65 )*00}#else#0#fi#
Code:
#if#{*[th0temp-mavg=F.000001]>65.0*}#then#{*round([th0temp-mavg=F.000001]-65.0)*[DD]*00}#else#0#fi#
Code:
#if#{*50.2>65*}#then#{*round(50.2-65 )*01*00}#else#0#fi#
When running this in my browser:
Code:
http://ip-of-meteobrige/cgi-bin/template.cgi?template={*round(65-[th0temp-mavg=F])*[DD]*00}
Just curious if I am simply missing something or a possible bug might exist.
g
Statistics: Posted by hymrog — Sat Mar 09, 2024 8:12 pm