Codes for Landcover Reconstruction Algorithm