10 character(len=255) :: file !> name of filename to read
11 integer,
parameter :: lunit = 20
16 call getarg(1,file); file=trim(adjustl(file))
17 if (file ==
'') call
bort(
'Usage: "gettab bufrfile" will print the internal BUFR table')
18 inquire(file=file,exist=exist)
19 if (.not.exist) call
bort(trim(file)//
' does not exist')
23 open(lunit,file=file,
status=
'old', form=
'unformatted')
24 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.
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...