NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
cadn30.f
Go to the documentation of this file.
1 C> @file
2 C> @author ATOR @date 2004-08-18
3 
4 C> GIVEN THE BIT-WISE REPRESENTATION OF THE FXY VALUE
5 C> FOR A DESCRIPTOR, THIS ROUTINE CALLS FUNCTION ADN30 AND STORES
6 C> ITS RETURN VALUE (I.E. THE ASCII-EQUIVALENT FXY VALUE) AS THE
7 C> ROUTINE OUTPUT VALUE. THIS MECHANISM (I.E. A FORTRAN SUBROUTINE
8 C> WRAPPER RETURNING ADN AS A CALL PARAMETER, RATHER THAN DIRECTLY
9 C> CALLING THE FORTRAN FUNCTION ADN30 FROM WITHIN A C ROUTINE)
10 C> ALLOWS SAFE AND PORTABLE (ALBEIT INDIRECT) ACCESS TO THE ADN30
11 C> FUNCTION LOGIC FROM WITHIN A C ROUTINE.
12 C>
13 C> PROGRAM HISTORY LOG:
14 C> 2004-08-18 J. ATOR -- ORIGINAL AUTHOR
15 C>
16 C> USAGE: CADN30( IDN, ADN )
17 C> INPUT ARGUMENT LIST:
18 C> IDN - INTEGER: BIT-WISE REPRESENTATION OF FXY VALUE
19 C>
20 C> OUTPUT ARGUMENT LIST:
21 C> ADN - CHARACTER*(*): ASCII-CHARACTER FORM OF IDN
22 C>
23 C> REMARKS:
24 C> THIS ROUTINE CALLS: ADN30
25 C> THIS ROUTINE IS CALLED BY: NUMMTB RESTD STSEQ
26 C> Normally not called by application
27 C> programs but it could be.
28 C>
29  SUBROUTINE cadn30( IDN, ADN )
30 
31 
32 
33  character*(*) adn
34  character*6 adn30
35 
36  adn = adn30( idn, 6 )
37 
38  RETURN
39  END
character *(*) function adn30(IDN, L30)
This function converts a descriptor from its bit-wise (integer) representation to its 5 or 6 characte...
Definition: adn30.f:27
subroutine cadn30(IDN, ADN)
GIVEN THE BIT-WISE REPRESENTATION OF THE FXY VALUE FOR A DESCRIPTOR, THIS ROUTINE CALLS FUNCTION ADN3...
Definition: cadn30.f:29