/***************************************************************** /* This AML generates a GRID-coverage of the "Bucket-Size" of * /* soils in a 90m resolution, based on three GRIDS, containing * /* information on bucket depth (D: in m), specific soil mois- * /* ture holding capacity (SSMC, in mm/m) and the coarse frag- * /* ment content (CFC: in %). The bucket size is calculated as * /* follows: * /* * /* Bucket Size = D x SSMC x (1 - CFC/100) * /* * /* Attention: Bucket is calculated in 1/10mm units (integer) * /* * /***************************************************************** &sv d = depth &sv s = ssmc &sv c = cfc bucket = int((10. * %d% * float(%s%)) * (1. - (float(%c%) / 100.)))