Your quick stab in the dark did the trick! Thanks! :-) But its still guesswork if you don't know this. The docs (in the StdWXCalculate section) don't state you need this library if you add maxSolarRad calculation + the application doesn't crash if the library is missing.
Op maandag 25 december 2017 22:23:20 UTC+1 schreef gjr80: > > Pardon my typo, obviously 'macSolarRad' should be 'maxSolarRad' > > Gary > > On Tue, 26 Dec 2017 at 08:06, gjr80 <[email protected] <javascript:>> > wrote: > >> Hi, >> >> First off, a quick stab in the dark, have you installed pyephem( >> http://weewx.com/docs/setup.htm)? Pyephem is required to calculate >> maxSolarRad otherwise it will always be None/null. >> >> No reason why calculated values can't be added, as long as (1) the >> calculated field actually appears in the weeWX produced archive record and >> (2) there is a field of that name in the archive. Might be worth checking >> what is in your archive records by running weeWX directly ( >> http://www.weewx.com/docs/usersguide.htm#Running_directly) and looking >> at the lines starting with REC (will appear once every archive period). Is >> there a macSolarRad field and does it have a value? >> >> As for wee_database, sure it is very simple to add a field using tools >> like myphpadmin, but it is equally easy to screw things right up. >> Wee_database helps avoid such issues. >> >> Gary >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- > > Gary > -- 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]. For more options, visit https://groups.google.com/d/optout.
