da_profiler.f90

References to this file elsewhere.
1 module da_profiler
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       profiler, max_error_p,max_error_q, &
9       max_stheight_diff, anal_type_verify, kms,kme,kts,kte, trace_use_dull
10    use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
11       bad_data_type, x_type, number_type, bad_data_type
12    use da_interpolation, only : da_interp_lin_3d, da_to_zk, &
13       da_interp_lin_3d_adj
14    use da_par_util, only : da_proc_stats_combine
15    use da_par_util1, only : da_proc_sum_int
16    use da_statistics, only : da_stats_calculate
17    use da_tools, only : da_max_error_qc, da_residual, da_convert_zk
18    use da_tracing, only : da_trace_entry, da_trace_exit
19 
20    ! The "stats_profiler_type" is ONLY used locally in da_profiler:
21 
22    type residual_profiler1_type
23       real          :: u                        ! u-wind.
24       real          :: v                        ! v-wind.
25    end type residual_profiler1_type
26 
27    type maxmin_profiler_stats_type
28       type (maxmin_type)         :: u, v
29    end type maxmin_profiler_stats_type
30 
31    type stats_profiler_type
32       type (maxmin_profiler_stats_type)  :: maximum, minimum
33       type (residual_profiler1_type)     :: average, rms_err
34    end type stats_profiler_type
35 
36 contains
37 
38 #include "da_ao_stats_profiler.inc"
39 #include "da_jo_and_grady_profiler.inc"
40 #include "da_residual_profiler.inc"
41 #include "da_oi_stats_profiler.inc"
42 #include "da_print_stats_profiler.inc"
43 #include "da_transform_xtoy_profiler.inc"
44 #include "da_transform_xtoy_profiler_adj.inc"
45 #include "da_check_max_iv_profiler.inc"
46 #include "da_get_innov_vector_profiler.inc"
47 #include "da_calculate_grady_profiler.inc"
48 
49 
50 end module da_profiler
51