Applied multi-layer clustering to the diagnosis of complex agro-systems