da_gpsref.f90
References to this file elsewhere.
1 module da_gpsref
2
3 use module_domain, only : xpose_type, xb_type
4 use module_dm, only : wrf_dm_sum_real
5
6 use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
7 v_interp_p, v_interp_h, check_max_iv_print, &
8 missing, max_error_uv, max_error_t, rootproc, &
9 max_error_p,max_error_q, check_max_iv_unit,check_max_iv, &
10 max_stheight_diff,missing_data,max_error_bq,max_error_slp, &
11 max_error_bt, max_error_buv, num_gpsref_tot,max_error_thickness, &
12 pseudo_var, num_pseudo, &
13 anal_type_verify,fails_error_max,pseudo_err,pseudo_x, pseudo_y, stdout, &
14 use_gpsrefobs,pseudo_z,pseudo_val,max_error_ref
15 use da_define_structures, only : maxmin_type, ob_type, y_type, jo_type, &
16 bad_data_type, x_type, number_type, bad_data_type, &
17 gpsref_type, maxmin_type
18 use da_interpolation, only : da_interp_lin_3d,da_interp_lin_3d_adj, &
19 da_to_zk
20 use da_par_util, only : da_proc_stats_combine
21 use da_par_util1, only : da_proc_sum_int
22 use da_statistics, only : da_stats_calculate
23 use da_tools, only : da_max_error_qc, da_residual
24
25 ! The "stats_gpsref_type" is ONLY used locally in da_gpsref:
26
27 type residual_gpsref1_type
28 real :: ref ! GPS Refractivity
29 real :: p ! Retrieved from GPS Refractivity
30 real :: t ! Retrieved from GPS Refractivity
31 real :: q ! Used in GPS Refra. retrieval.
32 end type residual_gpsref1_type
33
34 type maxmin_gpsref_stats_type
35 type (maxmin_type) :: ref ! GPS Refractivity
36 end type maxmin_gpsref_stats_type
37
38 type stats_gpsref_type
39 type (maxmin_gpsref_stats_type) :: maximum, minimum
40 type (residual_gpsref1_type) :: average, rms_err
41 end type stats_gpsref_type
42
43 contains
44
45 #include "da_ao_stats_gpsref.inc"
46 #include "da_calculate_grady_gpsref.inc"
47 #include "da_jo_and_grady_gpsref.inc"
48 #include "da_residual_gpsref.inc"
49 #include "da_oi_stats_gpsref.inc"
50 #include "da_print_stats_gpsref.inc"
51 #include "da_transform_xtoy_gpsref.inc"
52 #include "da_transform_xtoy_gpsref_adj.inc"
53 #include "da_check_max_iv_gpsref.inc"
54 #include "da_get_innov_vector_gpsref.inc"
55
56 end module da_gpsref
57