We evaluate planetary boundary-layer (PBL) parametrizations in the Weather Research and Forecasting (WRF) numerical model, with three connected objectives: first, for a 16-year period, we use a cluster analysis algorithm of three-day back-trajectories to determine general synoptic flow patterns over Barcelona, Spain arriving at heights of 0.5, 1.5, and 3 km; to represent the lower PBL, upper PBL, and lower free troposphere, respectively. Seven clusters are determined at each arriving altitude. Regional recirculations account for 54 % of the annual total at 0.5 km, especially in summertime. In the second objective, we assess a time-adaptive approach using an extended Kalman filter to estimate PBL height from backscatter lidar returns at 1200 UTC ± 30 min for 45 individual days during a seven-year period. PBL heights retrieved with this technique are compared with three classic methods used in the literature to estimate PBL height from lidar. The methods are validated against PBL heights calculated from daytime radiosoundings. Lidar and radiosonde estimated PBL heights are classified under objectively-determined synoptic clusters. With the final objective, WRF model-simulated PBL heights are validated against lidar estimates using eight unique PBL schemes as inputs. Evaluation of WRF model-simulated PBL heights are performed under different synoptic situations. Determination coefficients with lidar estimates indicate the non-local assymetric convective model scheme is the most reliable, with the widely-tested local Mellor-Yamada-Janjic scheme showing the weakest correlations with lidar retrievals. Overall, there is a systematic underestimation of PBL height simulated in the WRF model.