SUBROUTINE UA_DTBD ( report, lenr, irptr, iret ) C************************************************************************ C* UA_DTBD * C* * C* This subroutine decodes temp BB and temp DD reports. * C* * C* UA_DTBD ( REPORT, LENR, IRPTR, IRET ) * C* * C* Input parameters: * C* REPORT CHAR* Temp BB or temp DD report * C* LENR INTEGER Length of REPORT * C* * C* Input and output parameters: * C* IRPTR INTEGER Pointer within REPORT * C* * C* Output parameters: * C* IRET INTEGER Return code * C* 0 = normal return * C* -1 = critical error in REPORT * C* or reached end of REPORT * C** * C* Log: * C* J. Ator/NCEP 03/96 * C* J. Ator/NCEP 12/97 New interface format, style changes * C* J. Ator/NCEP 10/99 Clean up function declarations * C* J. Ator/NCEP 03/00 Allow decoding of UA_SNDG data for DD * C************************************************************************ INCLUDE 'GEMPRM.PRM' INCLUDE 'uacmn.cmn' C* CHARACTER*(*) report C------------------------------------------------------------------------ iret = 0 C C* Decode the significant level temperature and wind data. C CALL UA_TSLV ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN END IF C C* Decode the sounding system and sea surface temperature data. C CALL UA_SNDG ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN END IF C IF ( ( prttyp .eq. BB ) .and. + ( stntyp .ne. DROP ) ) THEN C C* Decode the cloud data. C CALL UA_CLDD ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN END IF END IF C C* Decode the regional practice data. C CALL UA_REGP ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN END IF C C* Decode the national practice data. C CALL UA_NATP ( report, lenr, irptr, iret ) C* RETURN END