UPP (upp-srw-2.2.0)
Loading...
Searching...
No Matches
READ_xml.f
Go to the documentation of this file.
1
2! . . .
39 SUBROUTINE read_xml()
40!
41
42!
43!
44! INCLUDE ETA GRID DIMENSIONS. SET/DERIVE PARAMETERS.
45!
46 use xml_perl_data,only: post_avblflds,paramset,read_postxconfig
47 use grib2_module, only: num_pset
48 use rqstfld_mod,only: num_post_afld,mxlvl,lvlsxml
49 use ctlblk_mod, only: me
50!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
51 implicit none
52!
53! DECLARE VARIABLES.
54!
55!******************************************************************************
56! START READCNTRL_XML HERE.
57!
58! READ post available field table
59 call read_postxconfig()
60 num_post_afld=size(paramset(1)%param)
61 num_pset=size(paramset)
62
63! LinGan below line removed because now we only read one flat file
64!
65! if(size(post_avblflds%param)==0) then
66! call read_xml_file_post_t( 'post_avblflds.xml')
67! num_post_afld=size(post_avblflds%param)
68! allocate(lvlsxml(MXLVL,num_post_afld))
69! write(*,*)'in readxml, aft read post_avblflds.xml,num_post_afld=',num_post_afld
70! endif
71!
72! READ post cntrl file
73! write(*,*)'in readxml,bf readxml,size(paramset)=',size(paramset)
74! if(size(paramset)==0) then
75! call read_xml_file_post_t( 'postcntrl.xml')
76! num_pset=size(paramset)
77! write(*,*)'in readxml, aft read postcntrl.xml,num_pset=',num_pset
78! endif
79!
80
81 RETURN
82 end subroutine read_xml
83
subroutine read_xml()
SUBPROGRAM: READCNTRLgrb2_xml READS POST xml CONTROL FILE PRGRMMR: J.
Definition READ_xml.f:40