fetching measurements for a location (time range as a parameter)