Links to data in this code are from GitHub repository. But can be replaced by the files supplied here. Only code to generate models and to create figures for their validation is provided. Also code to create GMFR function (from Riemann et al. 2010 and adapted in Henderson et al. 2019) is provided. Code to: calculate C stock for training and validation data set per biomass compartment; prepare raster data (mostly in Google Earth Engine); make raster predictions; calculate C loss according to local combustion factors and NBR severity levels is available upon request. MetaData.xlsx contains a description of all files within this package, and variable explanation for provided data sets.