Assessing the terroir system of wine regions