4 use fckit_configuration_module,
only: fckit_configuration
15 integer(c_int) :: ro_top_meter
16 integer(c_int) :: use_compress
17 integer(c_int) :: n_horiz
18 integer(c_int) :: sr_steps
19 character(len=MAXVARLEN) :: super_ref_qc
20 character(len=:),
allocatable :: str
21 real(kind_real) :: res
23 real(kind_real) :: dtheta
24 character(len=20) :: vertlayer
29 real(kind_real),
parameter,
public ::
res_2d = 40.0
30 real(kind_real),
parameter,
public ::
top_2d = 20.0
37 type(fckit_configuration),
intent(in) :: f_conf
39 character(len=:),
allocatable :: str
41 roconf%ro_top_meter = 30000
42 if (f_conf%has(
"ro_top_meter"))
call f_conf%get_or_die(
"ro_top_meter",roconf%ro_top_meter)
43 roconf%use_compress = 1
44 if (f_conf%has(
"use_compress"))
call f_conf%get_or_die(
"use_compress",roconf%use_compress)
46 if (f_conf%has(
"n_horiz"))
call f_conf%get_or_die(
"n_horiz",roconf%n_horiz)
48 if (f_conf%has(
"res"))
call f_conf%get_or_die(
"res",roconf%res)
50 if (f_conf%has(
"top_2d"))
call f_conf%get_or_die(
"top_2d",roconf%top_2d)
51 roconf%top_2d = roconf%top_2d*1000.0
52 roconf%dtheta = roconf%res/mean_earth_rad
53 roconf%vertlayer =
"full"
54 if (f_conf%has(
"vertlayer"))
then
55 call f_conf%get_or_die(
"vertlayer",str)
56 roconf%vertlayer = str
58 roconf%super_ref_qc =
"NBAM"
59 if (f_conf%has(
"super_ref_qc"))
then
60 call f_conf%get_or_die(
"super_ref_qc",str)
61 roconf%super_ref_qc=trim(str)
64 if (f_conf%has(
"sr_steps"))
call f_conf%get_or_die(
"sr_steps",roconf%sr_steps)