Neural Network analysis of complex scientific data: Astronomy and Geosciences