I think you've got an upper case "I" in the second "if".

-tk

On Mon, Aug 22, 2016 at 2:31 PM, 'Domi S' via weewx-user <
[email protected]> wrote:

> Hello
>
> I want to make a correction for my temperature, because my radiation
> shield is passive (has no fan).
>
> The extraTemp2 is my DIY brightnessensor it measures from 65 degrees to
> -48 degrees. I want to use it to cancel the correction when the sun isn't
> shining or it's night
>
> So i want to define
>
> outTemp = outTemp if extraTemp2 < 62 else outTemp If windSpeed > 3 else
> outTemp - 0.1 if windSpeed > 2 else outTemp - 0.2 if windSpeed > 1 else
> outTemp - 0.3
>
> Weewx say to me syntax error is it not possible to combine "if else" like
> this.
>
> --
> 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.
>

-- 
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.

Reply via email to