SUBROUTINE GF_IFSP ( rimnem, iret ) C************************************************************************ C* GF_IFSP * C* * C* This subroutine initializes the interface mnemonic arrays and sets * C* the pointers within COMMON / RINTFP /. * C* * C* GF_IFSP ( RIMNEM, IRET ) * C* * C* Output parameters: * C* RIMNEM (*) CHAR* Interface mnemonics for reals * C* IRET INTEGER Return code * C* 0 = normal return * C* -1 = one or more pointers * C* could not be set * C* * C** * C* Log: * C* C. Caruso Magee/NCEP 07/06 * C S. Guan/NCEP 09/09 Adopting new BUFR4 formatted wind/wave. * C************************************************************************ INCLUDE 'GEMPRM.PRM' INCLUDE 'gfcmn.cmn' C* CHARACTER*(*) rimnem (*) C* LOGICAL allok INTEGER iploc ( NRIMN ) CHARACTER rifmn ( NRIMN )*8 C* C* Establish equivalance between iploc ( ) and COMMON / RINTFP / C* EQUIVALENCE ( iploc (1), irsaid ) C* C* Real interface mnemonics. C* DATA ( rifmn (i), i = 1, NRIMN ) + / 'SAID' , 'CLAT' , 'CLON' , + 'WS10' , 'HOWV' , 'SDWH' , 'ALTPE' , + 'PEAK' , 'ACIO' , 'ACDT' , + 'ACWT' , 'BKST' , 'OLCA' , + 'YEAR' , 'MNTH' , 'DAYS' , 'HOUR' , 'MINU' , 'SECO' / C* C----------------------------------------------------------------------- iret = 0 C C* Initialize the interface mnemonics. C DO i = 1, NRIMN rimnem ( i ) = rifmn ( i ) END DO C C* The logical variable "allok" is initially set to .true. but will C* be reset to .false. if any of the pointers cannot be set. C allok = .true. C C* Set the pointers for the real single-level interface mnemonics. C DO ii = 1, NRIMN CALL DC_IFFP ( rimnem (ii), rimnem, NRIMN, allok, + iploc (ii), ier ) END DO C C* Were all of the pointers properly set? C IF ( .not. allok ) THEN iret = -1 END IF C* RETURN END