So maybe something like:

source = 'outTemp'
latest = getattr(stats.day(), source).last

not sure what array['valid_data_source'] returns, I have assumed it's a string 
containing the observation you are interested in. Plus, am away from home so 
can't really test this(nor format my reply very well).

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