da_polaramv.f90

References to this file elsewhere.
1 module da_polaramv
2 
3    use module_domain, only : domain
4    
5    use da_control, only : obs_qc_pointer,max_ob_levels,missing_r, &
6       v_interp_p, v_interp_h, check_max_iv_print, trace_use_dull, &
7       missing, max_error_uv, max_error_t, rootproc, kms,kme,kts,kte, &
8       max_error_p,max_error_q, check_max_iv_unit,check_max_iv,  &
9       max_stheight_diff,missing_data,max_error_bq,max_error_slp, &
10       max_error_bt, max_error_buv, polaramv, anal_type_verify, position_lev_dependant
11    use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
12       bad_data_type, x_type, number_type, bad_data_type
13    use da_interpolation, only : da_interp_lin_3d, da_to_zk, &
14       da_interp_lin_3d_adj
15    use da_par_util, only : da_proc_stats_combine
16    use da_par_util1, only : da_proc_sum_int
17    use da_statistics, only : da_stats_calculate
18    use da_tools, only : da_max_error_qc, da_residual, da_convert_zk
19    use da_tracing, only : da_trace_entry, da_trace_exit
20 
21    ! The "stats_polaramv_type" is ONLY used locally in da_polaramv:
22 
23    type residual_polaramv1_type
24       real          :: u                        ! u-wind.
25       real          :: v                        ! v-wind.
26    end type residual_polaramv1_type
27 
28    type maxmin_polaramv_stats_type
29       type (maxmin_type)         :: u, v, t, q
30    end type maxmin_polaramv_stats_type
31 
32    type stats_polaramv_type
33       type (maxmin_polaramv_stats_type)  :: maximum, minimum
34       type (residual_polaramv1_type)     :: average, rms_err
35    end type stats_polaramv_type
36 
37 
38 contains
39 
40 #include "da_ao_stats_polaramv.inc"
41 #include "da_jo_and_grady_polaramv.inc"
42 #include "da_residual_polaramv.inc"
43 #include "da_oi_stats_polaramv.inc"
44 #include "da_print_stats_polaramv.inc"
45 #include "da_transform_xtoy_polaramv.inc"
46 #include "da_transform_xtoy_polaramv_adj.inc"
47 #include "da_check_max_iv_polaramv.inc"
48 #include "da_get_innov_vector_polaramv.inc"
49 #include "da_calculate_grady_polaramv.inc"
50 
51 end module da_polaramv     
52