31 use grib2_module,
only: num_pset,pset,nrecout,first_grbtbl,grib_info_init
32 use lookup_mod,
only: itb,jtb,itbq,jtbq
33 use ctlblk_mod,
only: npset, me, fld_info
34 use rqstfld_mod,
only: mxfld, iget, ritehd, lvlsxml, datset, ident, &
41 integer,
intent(in) :: KTH,KPV
42 real,
intent(in) :: th(kth),pv(kpv)
44 integer L,IFLD,MFLD,IAVBL,IREC,I,J
45 CHARACTER*50 AVBLGRB_NAME
71 DO j=1,
size(lvlsxml,2)
72 DO i=1,
size(lvlsxml,1)
86 mfld =
size(pset%param)
93 write(0,*)
'WRONG: post available fields not ready!!!'
122 call set_lvlsxml(pset%param(i),ifld,irec,kpv,pv,kth,th)
139 allocate(fld_info(nrecout+100))
145 fld_info(i)%ntrange = 0
146 fld_info(i)%tinvstat = 0
subroutine set_lvlsxml(param, ifld, irec, kpv, pv, kth, th)
Sets field levels (LVLS and LVLSXML) from POST xml CONTROL FILE requested fields.