MERIT-UC paper submitted to Water Resource Research Using a Random Forest method to estimate and correct the building biases in urban areas of MERIT DEM (Yamazaki et al., 2017). Code include the preparation of the RF layers (python), and the using these layers in a Random Forest model (R).