awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/dbgetensmbrs.f
Steve Harris 8485b90ff8 12.4.1-10 baseline
Former-commit-id: bf53d06834caa780226121334ac1bcf0534c3f16
2012-05-01 18:06:13 -05:00

36 lines
1.7 KiB
Fortran

SUBROUTINE DB_GETENSMBRS ( aname, iret )
C************************************************************************
C* DB_GETENSMBRS *
C* *
C* This subroutine gets ensnames from common. *
C* *
C* DB_GETENSMBRS ( ANAME, IRET ) *
C* *
C* Input parameters: *
C* ANAME CHAR* Ens members names *
C* *
C* Output parameters: *
C* IRET INTEGER Return code *
C* 0 = normal return *
C** *
C* Log: *
C* m.gamazaychikov/CWS 07/09 *
C************************************************************************
INCLUDE 'GEMPRM.PRM'
INCLUDE 'dbcmn.cmn'
C*
CHARACTER*(*) aname
C*
C------------------------------------------------------------------------
C*
IF ( isensnames ) THEN
CALL ST_LSTR ( ensnames, lensnames, ier )
aname = ensnames ( :lensnames)
iret = 0
ELSE
iret = -1
aname = ' '
END IF
CALL ST_NULL (aname, aname, lstr, ier)
RETURN
END