Quantum-inspired tensor network for Earth science