updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / da / da_bogus / da_bogus.f90
blobef52ec61b7c78b7227a55a8eb34fd8bab1cb210d
1 module da_bogus
3 use module_domain, only : domain
5 use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
6 check_max_iv_print, check_max_iv_unit, v_interp_p, v_interp_h, &
7 check_max_iv, missing, max_error_uv, max_error_t, rootproc, &
8 bogus, max_error_p,max_error_q, trace_use_dull,fails_error_max, &
9 max_stheight_diff,missing_data,max_error_bq,max_error_slp, &
10 max_error_bt, max_error_buv, anal_type_verify, kms,kme,kts,kte, &
11 ob_vars,qcstat_conv_unit, write_rej_obs_conv
12 use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
13 bad_data_type, x_type, number_type, bad_data_type
14 use da_interpolation, only : da_interp_lin_3d, da_to_zk, &
15 da_interp_lin_3d_adj
16 use da_par_util, only : da_proc_stats_combine
17 use da_par_util1, only : da_proc_sum_int
18 use da_physics, only : da_tpq_to_slp_adj,da_tpq_to_slp_lin
19 use da_statistics, only : da_stats_calculate
20 use da_tools, only : da_max_error_qc, da_residual, da_convert_zk,da_get_print_lvl
21 use da_tracing, only : da_trace_entry, da_trace_exit
23 ! The "stats_bogus_type" is ONLY used locally in da_bogus:
25 type residual_bogus1_type
26 real :: u ! u-wind.
27 real :: v ! v-wind.
28 real :: t ! temperature
29 real :: q ! specific humidity
30 real :: slp ! sea level pressure (hPa)
31 end type residual_bogus1_type
33 type maxmin_bogus_stats_type
34 type (maxmin_type) :: u, v, t, q, slp
35 end type maxmin_bogus_stats_type
37 type stats_bogus_type
38 type (maxmin_bogus_stats_type) :: maximum, minimum
39 type (residual_bogus1_type) :: average, rms_err
40 end type stats_bogus_type
42 contains
44 #include "da_ao_stats_bogus.inc"
45 #include "da_jo_and_grady_bogus.inc"
46 #include "da_residual_bogus.inc"
47 #include "da_oi_stats_bogus.inc"
48 #include "da_print_stats_bogus.inc"
49 #include "da_transform_xtoy_bogus.inc"
50 #include "da_transform_xtoy_bogus_adj.inc"
51 #include "da_check_max_iv_bogus.inc"
52 #include "da_get_innov_vector_bogus.inc"
53 #include "da_calculate_grady_bogus.inc"
55 end module da_bogus