da_ships.f90

References to this file elsewhere.
1 module da_ships
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, sfc_assi_options, check_max_iv_print, &
7       missing, max_error_uv, max_error_t, rootproc, trace_use_dull, &
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,anal_type_verify, ships, &
11       kms,kme,kts,kte,sfc_assi_options_1,sfc_assi_options_2
12    use da_define_structures, only : maxmin_type, iv_type, y_type, jo_type, &
13       bad_data_type, x_type, number_type, bad_data_type
14    use da_interpolation, only : da_to_zk, &
15       da_interp_lin_3d,da_interp_lin_3d_adj, da_interp_lin_2d_partial, &
16       da_interp_lin_2d, da_interp_lin_2d_adj
17    use da_par_util, only :da_proc_stats_combine
18    use da_par_util1, only : da_proc_sum_int
19    use da_physics, only : da_sfc_pre, da_transform_xtopsfc, &
20       da_transform_xtopsfc_adj
21    use da_statistics, only : da_stats_calculate
22    use da_tools, only : da_max_error_qc, da_residual, da_obs_sfc_correction, da_convert_zk
23    use da_tracing, only : da_trace_entry, da_trace_exit
24 
25    ! The "stats_ships_type" is ONLY used locally in da_ships:
26 
27    type residual_ships1_type
28       real          :: u                        ! u-wind.
29       real          :: v                        ! v-wind.
30       real          :: t                        ! temperature
31       real          :: p                        ! pressure
32       real          :: q                        ! specific humidity
33    end type residual_ships1_type
34 
35    type maxmin_ships_stats_type
36       type (maxmin_type)         :: u, v, t, p, q
37    end type maxmin_ships_stats_type
38 
39    type stats_ships_type
40       type (maxmin_ships_stats_type)  :: maximum, minimum
41       type (residual_ships1_type)     :: average, rms_err
42    end type stats_ships_type
43 
44 contains
45 
46 #include "da_ao_stats_ships.inc"
47 #include "da_jo_and_grady_ships.inc"
48 #include "da_residual_ships.inc"
49 #include "da_oi_stats_ships.inc"
50 #include "da_print_stats_ships.inc"
51 #include "da_transform_xtoy_ships.inc"
52 #include "da_transform_xtoy_ships_adj.inc"
53 #include "da_check_max_iv_ships.inc"
54 #include "da_get_innov_vector_ships.inc"
55 #include "da_calculate_grady_ships.inc"
56 
57 
58 end module da_ships
59