A Four-Dimensional Variational Constrained Neural Network-based Data Assimilation Method