17 character(len=*),
parameter :: myname=
'ut_NCrad' 19 integer(i_kind) :: iversion = 30303
20 integer(i_kind) :: npred = 7
21 integer(i_kind) :: luin = 10
22 logical :: retrieval = .false.
23 logical :: lverbose = .true.
24 logical :: ncftype = .true.
26 integer(i_kind) iarg, argc, iargc
27 integer(i_kind) ier,icnt
28 character(len=255) :: ncfname
43 call getarg ( iarg, ncfname )
45 print *, myname,
': Input file: ', trim(ncfname)
47 call set_netcdf_read(.true.)
51 call read_radiag_header(luin,npred,retrieval,header_fix,header_chan,header_name,ier,lverbose)
61 print*, myname,
': Found this many records: ', icnt
62 print*, myname,
': Found this many channels: ', header_fix%nchan
63 print*, myname,
': Observation type in file: ', header_fix%obstype
64 print*, myname,
': Date of input file: ', header_fix%idate
subroutine, public read_radiag_header(ftin, npred_radiag, retrieval, header_fix, header_chan, data_name, iflag, lverbose)
integer, parameter, public i_kind
subroutine, public set_netcdf_read(use_netcdf)
subroutine, public read_radiag_data(ftin, header_fix, retrieval, data_fix, data_chan, data_extra, iflag)
subroutine nc_diag_read_close(filename, file_ncdr_id, from_pop)
subroutine nc_diag_read_init(filename, file_ncdr_id, from_push)