function weather query
fixed merge