True, didn't think about that. It's dirty, but str(val) == 'nan'
would work also. Aside from isnan(), that is the most readable solution that I am aware of. On Monday, November 20, 2017 at 8:33:28 PM UTC-7, gjr80 wrote: > > Might have to be careful we don't break python 2.5 compatibility, I think > isnan() was introduced in python 2.6. > > 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.