41 SUBROUTINE openmg(LUNIT,SUBSET,JDATE)
53 CALL
status(lunit,lun,il,im)
56 IF(im.NE.0) CALL
closmg(lunit)
57 CALL
wtstat(lunit,lun,il, 1)
63 CALL
nemtba(lun,subset,mtyp,mstb,inod)
67 idate(lun) =
i4dy(jdate)
79 900 CALL
bort(
'BUFRLIB: OPENMG - OUTPUT BUFR FILE IS CLOSED, IT '//
80 .
'MUST BE OPEN FOR OUTPUT')
81 901 CALL
bort(
'BUFRLIB: OPENMG - OUTPUT BUFR FILE IS OPEN FOR '//
82 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
function i4dy(IDATE)
This function converts a date-time with a 2-digit year (YYMMDDHH) to a date-time with a 4-digit year ...
subroutine usrtpl(LUN, INVN, NBMP)
THIS SUBROUTINE STORES THE SUBSET TEMPLATE INTO INTERNAL SUBSET ARRAYS IN MODULE USRINT FOR CASES OF ...
subroutine openmg(LUNIT, SUBSET, JDATE)
This subroutine opens and initializes a new BUFR message within internal arrays, for eventual output ...
subroutine wtstat(LUNIT, LUN, IL, IM)
This subroutine can be used to connect or disconnect a specified Fortran logical unit number to/from ...
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
subroutine msgini(LUN)
THIS SUBROUTINE INITIALIZES, WITHIN THE INTERNAL ARRAYS, A NEW BUFR MESSAGE FOR OUTPUT.
subroutine closmg(LUNIN)
This subroutine closes the BUFR message that is currently open for writing within internal arrays ass...
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
subroutine nemtba(LUN, NEMO, MTYP, MSBT, INOD)
This subroutine searches for a descriptor within Table A of the internal DX BUFR tables.