def flatten_element(p):
rd = {"<STR_LIT:time>": p.time}<EOL>for member in p.members:<EOL><INDENT>rd[member["<STR_LIT>"]] = member["<STR_LIT:value>"]<EOL><DEDENT>return rd<EOL>
Convenience function to return record-style time series representation
from elements ('p') members in station element.
member['standard'] is a standard_name parameter name, typically CF based.
Ideally, member['value'] should already be floating point value,
so it's ready to use.
Useful with most pyoos collectors.