improove query CURVE to include granularity on data result, add query for bracketCurve, but wind query is broken!
improove query for bracketCurve
debug wind Query for manage Granularity
debug query