Well this is pretty cool tech. Basically some German scientists have developed a machine/software that can identify the sugar content of grapes using the various optical properties related to sugar levels, and then sort them correctly for wine production.