Update version info for release v4.6.1 (#2122)
[WRF.git] / var / da / da_pseudo / da_pseudo.f90
blob60a3c2a383af7860504d05757d1003f9debf9c9c
1 module da_pseudo
3 use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
4 v_interp_p, v_interp_h, trace_use_dull, &
5 missing, max_error_uv, max_error_t, rootproc, &
6 max_error_p,max_error_q, pseudo, &
7 max_stheight_diff,missing_data,max_error_bq,max_error_slp, &
8 max_error_bt, max_error_buv, pseudo_var
9 use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
10 bad_data_type, x_type, number_type, bad_data_type
11 use module_domain, only : domain
12 use da_interpolation, only : da_interp_lin_3d,da_interp_lin_3d_adj
13 use da_statistics, only : da_stats_calculate
14 use da_tools, only : da_residual, da_convert_zk
15 use da_par_util, only : da_proc_stats_combine
16 use da_par_util1, only : da_proc_sum_int
17 use da_tracing, only : da_trace_entry, da_trace_exit
19 ! The "stats_pseudo_type" is ONLY used locally in da_pseudo:
21 type residual_pseudo1_type
22 real :: u ! u-wind.
23 real :: v ! v-wind.
24 real :: t ! temperature
25 real :: p ! pressure
26 real :: q ! specific humidity
27 end type residual_pseudo1_type
29 type maxmin_pseudo_stats_type
30 type (maxmin_type) :: u, v, t, p, q
31 end type maxmin_pseudo_stats_type
33 type stats_pseudo_type
34 type (maxmin_pseudo_stats_type) :: maximum, minimum
35 type (residual_pseudo1_type) :: average, rms_err
36 end type stats_pseudo_type
38 contains
40 #include "da_jo_and_grady_pseudo.inc"
41 #include "da_residual_pseudo.inc"
42 #include "da_get_innov_vector_pseudo.inc"
43 #include "da_ao_stats_pseudo.inc"
44 #include "da_oi_stats_pseudo.inc"
45 #include "da_print_stats_pseudo.inc"
46 #include "da_transform_xtoy_pseudo.inc"
47 #include "da_transform_xtoy_pseudo_adj.inc"
48 #include "da_calculate_grady_pseudo.inc"
50 end module da_pseudo