Loop to output geotiffs