da_bogus.f90

References to this file elsewhere.
1 module da_bogus
2 
3    use module_domain, only : xpose_type, xb_type
4 
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       num_bogus_tot, max_error_p,max_error_q,  trace_use, &
9       max_stheight_diff,missing_data,max_error_bq,max_error_slp, &
10       max_error_bt, max_error_buv, anal_type_verify
11    use da_define_structures, only : maxmin_type, ob_type, y_type, jo_type, &
12       bad_data_type, x_type, number_type, bad_data_type, &
13       bogus_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
21    use da_tracing, only : da_trace_entry, da_trace_exit
22 
23    ! The "stats_bogus_type" is ONLY used locally in da_bogus:
24 
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
32 
33    type maxmin_bogus_stats_type
34       type (maxmin_type)         :: u, v, t, q, slp 
35    end type maxmin_bogus_stats_type
36 
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
41 
42 contains
43 
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"
54 
55 end module da_bogus
56