SUBROUTINE UA_DPAC ( report, lenr, irptr, iret ) C************************************************************************ C* UA_DPAC * C* * C* This subroutine decodes pilot AA and pilot CC reports. * C* * C* UA_DPAC ( REPORT, LENR, IRPTR, IRET ) * C* * C* Input parameters: * C* REPORT CHAR* Pilot AA or pilot CC 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_REGP and UA_NATP * C************************************************************************ INCLUDE 'GEMPRM.PRM' INCLUDE 'uacmn.cmn' C* CHARACTER*(*) report C------------------------------------------------------------------------ iret = 0 C C* Decode the mandatory level data. C CALL UA_PMLV ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN END IF C C* Decode the maximum wind data. C CALL UA_MXWD ( report, lenr, irptr, iret ) IF ( iret .lt. 0 ) THEN RETURN 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