This code calculates surface topographic variables from CHM and uses Random Forest model to predict Coarse Woody Debris.