The calculations for RVD's conv_code field seems very inefficient, primarily because it creates a bunch of rasters and calculates zonal statistics on those rasters individually. In the future, restructuring this process (perhaps by using "select" to create temporary layers with each value instead of reclassifying a bunch of rasters?) would be an easy way to make the code much more efficient. Currently the outputs are correct, but the process to create this single field seems very clunky and indirect.
The calculations for RVD's
conv_codefield seems very inefficient, primarily because it creates a bunch of rasters and calculates zonal statistics on those rasters individually. In the future, restructuring this process (perhaps by using "select" to create temporary layers with each value instead of reclassifying a bunch of rasters?) would be an easy way to make the code much more efficient. Currently the outputs are correct, but the process to create this single field seems very clunky and indirect.