da_bogus.f90

References to this file elsewhere.
1 module da_bogus
2 
3    use module_domain, only : domain
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       bogus, max_error_p,max_error_q, trace_use_dull, &
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    use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
12       bad_data_type, x_type, number_type, bad_data_type
13    use da_interpolation, only : da_interp_lin_3d, da_to_zk, &
14       da_interp_lin_3d_adj
15    use da_par_util, only : da_proc_stats_combine
16    use da_par_util1, only : da_proc_sum_int
17    use da_physics, only : da_tpq_to_slp_adj,da_tpq_to_slp_lin
18    use da_statistics, only : da_stats_calculate
19    use da_tools, only : da_max_error_qc, da_residual, da_convert_zk
20    use da_tracing, only : da_trace_entry, da_trace_exit
21 
22    ! The "stats_bogus_type" is ONLY used locally in da_bogus:
23 
24    type residual_bogus1_type
25       real          :: u                        ! u-wind.
26       real          :: v                        ! v-wind.
27       real          :: t                        ! temperature
28       real          :: q                        ! specific humidity
29       real          :: slp                      ! sea level pressure (hPa)
30    end type residual_bogus1_type
31 
32    type maxmin_bogus_stats_type
33       type (maxmin_type)         :: u, v, t, q, slp 
34    end type maxmin_bogus_stats_type
35 
36    type stats_bogus_type
37       type (maxmin_bogus_stats_type)  :: maximum, minimum
38       type (residual_bogus1_type)     :: average, rms_err
39    end type stats_bogus_type
40 
41 contains
42 
43 #include "da_ao_stats_bogus.inc"
44 #include "da_jo_and_grady_bogus.inc"
45 #include "da_residual_bogus.inc"
46 #include "da_oi_stats_bogus.inc"
47 #include "da_print_stats_bogus.inc"
48 #include "da_transform_xtoy_bogus.inc"
49 #include "da_transform_xtoy_bogus_adj.inc"
50 #include "da_check_max_iv_bogus.inc"
51 #include "da_get_innov_vector_bogus.inc"
52 #include "da_calculate_grady_bogus.inc"
53 
54 end module da_bogus
55