That would work, you could also catch the exception:

#try
#set $cloudHeight = round((($current.outTemp.degree_F.raw - 
$current.dewpoint.degree_F.raw) * 1000 / 4.4 + $station.altitude.foot.raw) * 
.3048, 0)
#except TypeError
#set $cloudHeight = ''
#end try
$cloudHeight|#slurp

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.

Reply via email to