da_sound.f90

References to this file elsewhere.
1 module da_sound
2 
3    use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
4       check_max_iv_print, check_max_iv_unit, v_interp_p, v_interp_h, &
5       check_max_iv, missing, max_error_uv, max_error_t, rootproc, &
6       max_error_p,max_error_q, sfc_assi_options, &
7       max_stheight_diff,test_dm_exact, anal_type_verify, &
8       kms,kme,kts,kte,sfc_assi_options_1,sfc_assi_options_2, &
9       trace_use_dull, sound, sonde_sfc, position_lev_dependant
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 module_domain, only : domain
13    use da_interpolation, only : da_to_zk, da_interp_lin_3d, &
14       da_interp_lin_3d_adj, da_interp_lin_2d, da_interp_lin_2d_adj, da_interp_lin_2d_partial
15    use da_statistics, only : da_stats_calculate
16    use da_tools, only : da_max_error_qc, da_residual, da_obs_sfc_correction, da_convert_zk
17    use da_par_util, only : da_proc_stats_combine, &
18       da_deallocate_global_sound, da_to_global_sound, da_to_global_sonde_sfc, &
19       da_deallocate_global_sonde_sfc
20    use da_par_util1, only : da_proc_sum_int
21    use da_physics, only : da_sfc_pre, da_transform_xtopsfc, &
22       da_transform_xtopsfc_adj
23    use da_tracing, only : da_trace_entry, da_trace_exit
24 
25    ! The "stats_sound_type" is ONLY used locally in da_sound:
26 
27    type residual_sound1_type
28       real          :: u                        ! u-wind.
29       real          :: v                        ! v-wind.
30       real          :: t                        ! temperature
31       real          :: q                        ! specific humidity
32    end type residual_sound1_type
33 
34    type maxmin_sound_stats_type
35       type (maxmin_type)         :: u, v, t, q
36    end type maxmin_sound_stats_type
37 
38    type stats_sound_type
39       type (maxmin_sound_stats_type)  :: maximum, minimum
40       type (residual_sound1_type)     :: average, rms_err
41    end type stats_sound_type
42 
43    ! The "stats_sonde_sfc_type" is ONLY used locally in da_sonde_sfc:
44 
45    type residual_sonde_sfc1_type
46       real          :: u                        ! u-wind.
47       real          :: v                        ! v-wind.
48       real          :: t                        ! temperature
49       real          :: p                        ! pressure
50       real          :: q                        ! specific humidity
51    end type residual_sonde_sfc1_type
52 
53    type maxmin_sonde_sfc_stats_type
54       type (maxmin_type)         :: u, v, t, p, q
55    end type maxmin_sonde_sfc_stats_type
56 
57    type stats_sonde_sfc_type
58       type (maxmin_sonde_sfc_stats_type)  :: maximum, minimum
59       type (residual_sonde_sfc1_type)     :: average, rms_err
60    end type stats_sonde_sfc_type
61 
62 contains
63 
64 #include "da_ao_stats_sound.inc"
65 #include "da_jo_and_grady_sound.inc"
66 #include "da_jo_sound_uvtq.inc"
67 #include "da_residual_sound.inc"
68 #include "da_oi_stats_sound.inc"
69 #include "da_print_stats_sound.inc"
70 #include "da_transform_xtoy_sound.inc"
71 #include "da_transform_xtoy_sound_adj.inc"
72 #include "da_check_max_iv_sound.inc"
73 #include "da_get_innov_vector_sound.inc"
74 #include "da_calculate_grady_sound.inc"
75 
76 #include "da_ao_stats_sonde_sfc.inc"
77 #include "da_jo_and_grady_sonde_sfc.inc"
78 #include "da_jo_sonde_sfc_uvtq.inc"
79 #include "da_residual_sonde_sfc.inc"
80 #include "da_oi_stats_sonde_sfc.inc"
81 #include "da_print_stats_sonde_sfc.inc"
82 #include "da_transform_xtoy_sonde_sfc.inc"
83 #include "da_transform_xtoy_sonde_sfc_adj.inc"
84 #include "da_get_innov_vector_sonde_sfc.inc"
85 #include "da_check_max_iv_sonde_sfc.inc"
86 #include "da_calculate_grady_sonde_sfc.inc"
87 
88 end module da_sound
89