31 subroutine cmplxpack(fld,ndpts,idrsnum,idrstmpl,cpack,lcpack)
33 integer,
intent(in) :: ndpts,idrsnum
34 real,
intent(in) :: fld(ndpts)
35 character(len=1),
intent(out) :: cpack(*)
36 integer,
intent(inout) :: idrstmpl(*)
37 integer,
intent(out) :: lcpack
41 if ( idrstmpl(7) .eq. 0 )
then
42 call compack(fld,ndpts,idrsnum,idrstmpl,cpack,lcpack)
43 elseif ( idrstmpl(7).eq.1 .OR. idrstmpl(7).eq.2)
then
44 call misspack(fld,ndpts,idrsnum,idrstmpl,cpack,lcpack)
46 print *,
'cmplxpack: Do not recognize Missing value option.'