updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / da / da_gpspw / da_gpspw.f90
blob808d6649ba9d46a454fa0c64c01115da4216f437
1 module da_gpspw
3 use module_dm, only : wrf_dm_sum_real
4 use module_domain, only : domain
6 use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
7 v_interp_p, v_interp_h, check_max_iv_print,kts,kte, &
8 missing, max_error_uv, max_error_t, rootproc, gpspw, &
9 max_error_p,max_error_q, check_max_iv_unit,check_max_iv, &
10 max_stheight_diff_ztd,missing_data,max_error_bq,max_error_slp, &
11 max_error_bt, max_error_buv, gpspw,max_error_thickness, &
12 pseudo_var, num_pseudo, use_gpspwobs, use_gpsztdobs, max_error_pw,fails_error_max, &
13 fails_error_max,pseudo_err,pseudo_x, pseudo_y, stdout, &
14 pseudo_z,pseudo_val,max_error_ref, trace_use_dull, pseudo, its,ite,jts,jte,&
15 ob_vars,qcstat_conv_unit, write_rej_obs_conv
16 use da_control, only : pseudo_tpw, pseudo_ztd, myproc, num_fgat_time, write_iv_gpsztd
17 use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
18 bad_data_type, x_type, number_type, bad_data_type, &
19 maxmin_type, da_allocate_observations
20 use da_par_util, only : da_proc_stats_combine
21 use da_par_util1, only : da_proc_sum_int
22 use da_reporting, only : da_error, da_message, message
23 use da_statistics, only : da_stats_calculate
24 use da_tools, only : da_max_error_qc, da_residual,da_get_print_lvl
25 use da_tools_serial, only : da_get_unit, da_free_unit
26 use da_tracing, only : da_trace_entry, da_trace_exit
28 ! The "stats_gpspw_type" is ONLY used locally in da_gpspw:
30 type residual_gpspw1_type
31 real :: tpw ! Precipitable water
32 end type residual_gpspw1_type
34 type maxmin_gpspw_stats_type
35 type (maxmin_type) :: tpw
36 end type maxmin_gpspw_stats_type
38 type stats_gpspw_type
39 type (maxmin_gpspw_stats_type) :: maximum, minimum
40 type (residual_gpspw1_type) :: average, rms_err
41 end type stats_gpspw_type
43 contains
45 #include "da_ao_stats_gpspw.inc"
46 #include "da_jo_and_grady_gpspw.inc"
47 #include "da_residual_gpspw.inc"
48 #include "da_oi_stats_gpspw.inc"
49 #include "da_print_stats_gpspw.inc"
50 #include "da_transform_xtoy_gpspw.inc"
51 #include "da_transform_xtoy_gpspw_adj.inc"
52 #include "da_transform_xtoy_gpsztd.inc"
53 #include "da_transform_xtoy_gpsztd_adj.inc"
54 #include "da_check_max_iv_gpspw.inc"
55 #include "da_get_innov_vector_gpspw.inc"
56 #include "da_get_innov_vector_gpsztd.inc"
57 #include "da_calculate_grady_gpspw.inc"
60 end module da_gpspw