10 character(len=255) :: finput !> name of filename to read
11 integer,
parameter :: lunit = 20
12 logical :: file_exists
15 call getarg(1, finput)
17 if (trim(adjustl(finput)) ==
'') finput =
'fort.20'
19 inquire(file=trim(adjustl(finput)), exist=file_exists)
20 if (.not. file_exists)
then
21 write(6,
'(3(A,X))')
"File", trim(adjustl(finput)),
'does not exist, ABORT!'
26 open(lunit,file=trim(adjustl(finput)),
status=
'old', form=
'unformatted')
27 call
openbf(lunit,
'IN', lunit)
subroutine dxdump(LUNIT, LDXOT)
This subroutine prints a copy of the DX BUFR table associated with a specified Fortran logical unit...
subroutine closbf(LUNIT)
This subroutine closes the connection between logical unit LUNIT and the BUFRLIB software.
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
subroutine openbf(LUNIT, IO, LUNDX)
This subroutine connects a new file to the BUFRLIB software for input or output operations.