NCEPLIBS-bufr 11.7.1
mrginv.f
Go to the documentation of this file.
1C> @file
2C> @author WOOLLEN @date 1996-10-09
3
4C> THIS SUBROUTINE PRINTS A SUMMARY OF MERGE ACTIVITY.
5C>
6C> PROGRAM HISTORY LOG:
7C> 1996-10-09 J. WOOLLEN -- ORIGINAL AUTHOR (ENTRY POINT IN INVMRG)
8C> 2002-05-14 J. WOOLLEN -- CHANGED FROM AN ENTRY POINT TO INCREASE
9C> PORTABILITY TO OTHER PLATFORMS
10C> 2003-11-04 S. BENDER -- ADDED REMARKS/BUFRLIB ROUTINE
11C> INTERDEPENDENCIES
12C> 2003-11-04 D. KEYSER -- UNIFIED/PORTABLE FOR WRF; ADDED
13C> DOCUMENTATION (INCLUDING HISTORY)
14C> 2009-04-21 J. ATOR -- USE ERRWRT
15C>
16C> USAGE: CALL MRGINV
17C>
18C> REMARKS:
19C> THIS ROUTINE CALLS: ERRWRT
20C> THIS ROUTINE IS CALLED BY: None
21C> Normally called only by application
22C> programs.
23C>
24 SUBROUTINE mrginv
25
26
27
28 COMMON /mrgcom/ nrpl,nmrg,namb,ntot
29 COMMON /quiet / iprt
30
31 CHARACTER*128 ERRSTR
32
33C-----------------------------------------------------------------------
34C-----------------------------------------------------------------------
35
36 IF(iprt.GE.0) THEN
37 CALL errwrt('+++++++++++++++++++++BUFRLIB+++++++++++++++++++++++')
38 CALL errwrt('---------------------------------------------------')
39 CALL errwrt('INVENTORY FROM MERGE PROCESS IN SUBROUTINE INVMRG:')
40 CALL errwrt('---------------------------------------------------')
41 WRITE ( unit=errstr, fmt='(A,I8)' )
42 . 'NUMBER OF DRB EXPANSIONS = ', nrpl
43 CALL errwrt(errstr)
44 WRITE ( unit=errstr, fmt='(A,I8)' )
45 . 'NUMBER OF MERGES = ', nmrg
46 CALL errwrt(errstr)
47 WRITE ( unit=errstr, fmt='(A,I8)' )
48 . 'NUMBER THAT ARE AMBIGUOUS = ', namb
49 CALL errwrt(errstr)
50 CALL errwrt('---------------------------------------------------')
51 WRITE ( unit=errstr, fmt='(A,I9)' )
52 . 'TOTAL NUMBER OF VISITS = ', ntot
53 CALL errwrt(errstr)
54 CALL errwrt('---------------------------------------------------')
55 CALL errwrt('+++++++++++++++++++++BUFRLIB+++++++++++++++++++++++')
56 CALL errwrt(' ')
57 ENDIF
58
59 RETURN
60 END
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Definition: errwrt.f:42
subroutine mrginv
THIS SUBROUTINE PRINTS A SUMMARY OF MERGE ACTIVITY.
Definition: mrginv.f:25