Did you try and just change the capital I to lower case I on the second 'if' in the statement?
I just entered your expression into python and it appeared to evaluate correctly even with all the if elses. On Tuesday, 23 August 2016 06:54:02 UTC+3, Domi S wrote: > I tried it thats weird when i restart weewx it uses my previous rule that > calculate "outTemp -0.1" but when i enter something like: > > "outTemp = outTemp - 0.2 if windSpeed > 1 else outTemp - 0.5" > > Weewx uses this rule it seems that my rule from my first post with the > many if else is invalid. > > -- 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.
