da_gpsref.f90

References to this file elsewhere.
1 module da_gpsref
2 
3    use module_domain, only : domain
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, gpsref,max_error_thickness, &
12       pseudo_var, num_pseudo, kms,kme,kts,kte, trace_use_dull, &
13       anal_type_verify,fails_error_max,pseudo_err,pseudo_x, pseudo_y, stdout, &
14       use_gpsrefobs,pseudo_z,pseudo_val,max_error_ref, pseudo, jts, jte,its,ite
15    use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
16       bad_data_type, x_type, number_type, bad_data_type, &
17       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, da_convert_zk
24    use da_tracing, only : da_trace_entry, da_trace_exit
25 
26    ! The "stats_gpsref_type" is ONLY used locally in da_gpsref:
27 
28    type residual_gpsref1_type
29       real :: ref                   ! GPS Refractivity
30       real ::   p                   ! Retrieved from GPS Refractivity
31       real ::   t                   ! Retrieved from GPS Refractivity
32       real ::   q                   ! Used in GPS Refra. retrieval.
33    end type residual_gpsref1_type
34 
35    type maxmin_gpsref_stats_type
36       type (maxmin_type)         :: ref          ! GPS Refractivity
37    end type maxmin_gpsref_stats_type
38 
39    type stats_gpsref_type
40       type (maxmin_gpsref_stats_type)  :: maximum, minimum
41       type (residual_gpsref1_type)     :: average, rms_err
42    end type stats_gpsref_type
43 
44 contains
45 
46 #include "da_ao_stats_gpsref.inc"
47 #include "da_calculate_grady_gpsref.inc"
48 #include "da_jo_and_grady_gpsref.inc"
49 #include "da_residual_gpsref.inc"
50 #include "da_oi_stats_gpsref.inc"
51 #include "da_print_stats_gpsref.inc"
52 #include "da_transform_xtoy_gpsref.inc"
53 #include "da_transform_xtoy_gpsref_adj.inc"
54 #include "da_check_max_iv_gpsref.inc"
55 #include "da_get_innov_vector_gpsref.inc"
56 
57 end module da_gpsref
58