NCEPLIBS-g2tmpl  1.12.0
g2sec4_temp1.F90
Go to the documentation of this file.
1 
4 
30 subroutine g2sec4_temp1(icatg,iparm,typ_gen_proc_key, &
31  gen_proc_or_mod_key,hrs_obs_cutoff,min_obs_cutoff, &
32  unit_of_time_key,fcst_time,lvl_type1,scale_fac1, &
33  scaled_val1,lvl_type2,scale_fac2,scaled_val2, &
34  type_ens_fcst_key,perturb_num,num_fcst_ens, &
35  ipdstmpl1)
37 
38  integer(4),intent(in) :: icatg,iparm,hrs_obs_cutoff,min_obs_cutoff, &
39  fcst_time,scale_fac1,scaled_val1,scale_fac2,scaled_val2
40  integer(4),intent(in) :: perturb_num, num_fcst_ens
41  !
42  character(len=*),intent(in) :: typ_gen_proc_key,gen_proc_or_mod_key, &
43  unit_of_time_key,lvl_type1,lvl_type2, &
44  type_ens_fcst_key
45  !
46  integer(4),intent(inout) :: ipdstmpl1(18)
47  !
48  !local vars
49  integer(4) :: value,ierr
50  integer(4) :: bckgnd_gen_proc_id ! defined by the center
51  !
52  bckgnd_gen_proc_id=0 ! defined by the center
53  !
54  ipdstmpl1(1) = icatg
55  ipdstmpl1(2) = iparm
56  !
57  call get_g2_typeofgenproc(typ_gen_proc_key,value,ierr)
58  ipdstmpl1(3) = value
59  !
60  ipdstmpl1(4) = bckgnd_gen_proc_id
61  !
62  call get_g2_on388genproc(gen_proc_or_mod_key,value,ierr)
63  ipdstmpl1(5) = value
64  !
65  ipdstmpl1(6) = hrs_obs_cutoff
66  ipdstmpl1(7) = min_obs_cutoff
67  !
68  call get_g2_unitoftimerange(unit_of_time_key,value,ierr)
69  ipdstmpl1(8) = value
70  ipdstmpl1(9) = fcst_time
71  !
72  call get_g2_fixedsurfacetypes(lvl_type1,value,ierr)
73  ipdstmpl1(10) = value
74  ipdstmpl1(11) = scale_fac1
75  ipdstmpl1(12) = scaled_val1
76  !
77  call get_g2_fixedsurfacetypes(lvl_type2,value,ierr)
78  ipdstmpl1(13) = value
79  !
80  ipdstmpl1(14) = scale_fac2
81  ipdstmpl1(15) = scaled_val2
82  !
83  call get_g2_typeofensfcst(type_ens_fcst_key,value,ierr)
84  ipdstmpl1(16) = value
85  !
86  ipdstmpl1(17) = perturb_num
87  ipdstmpl1(18) = num_fcst_ens
88  !
89  return
90 end subroutine g2sec4_temp1
subroutine g2sec4_temp1(icatg, iparm, typ_gen_proc_key, gen_proc_or_mod_key, hrs_obs_cutoff, min_obs_cutoff, unit_of_time_key, fcst_time, lvl_type1, scale_fac1, scaled_val1, lvl_type2, scale_fac2, scaled_val2, type_ens_fcst_key, perturb_num, num_fcst_ens, ipdstmpl1)
This subroutine returns the Grib2 Section 4 Template 4.1 list for given keys PDT 4....
Define the variables in the derived data type discipline provided in Section 0.
subroutine get_g2_on388genproc(key, value, ierr)
This subroutine returns the corresponding GRIB1 - PDS Ocet6 data value (Generating process or model) ...
subroutine get_g2_typeofgenproc(key, value, ierr)
This subroutine returns the corresponding GRIB2 - Type of Generating Process value for a given short ...
subroutine get_g2_fixedsurfacetypes(key, value, ierr)
This subroutine returns the corresponding GRIB2 - Fixed Surface Types and Units value for a given sho...
subroutine get_g2_unitoftimerange(key, value, ierr)
This subroutine returns the corresponding GRIB2 - Indicator of unit of time range value for a given s...
subroutine get_g2_typeofensfcst(key, value, ierr)
This subroutine returns the corresponding GRIB2 type of ensemble forecast value for a given short key...