42 SUBROUTINE w3ymdh4 (IDATE,IYEAR,MONTH,IDAY,IHOUR,NN)
49 IF ( itemp .lt. 101 )
THEN
54 IF(iyear.LE.100) iyear=2050-mod(2050-iyear,100)
58 itemp = itemp * 256 +
mova2i(idate(2))
59 itemp = itemp * 256 +
mova2i(idate(3))
60 itemp = itemp * 256 +
mova2i(idate(4))
61 ihour = mod( itemp, 32 )
63 iday = mod( itemp, 32 )
65 month = mod( itemp, 32 )
71 IF ( itemp .lt. 101 )
THEN
72 idate(1) = char(iyear)
73 idate(2) = char(month)
75 idate(4) = char(ihour)
78 itemp = itemp * 32 + month
79 itemp = itemp * 32 + iday
80 itemp = itemp * 32 + ihour
82 idate(4)=char(mod(itemp,256))
84 idate(3)=char(mod(itemp,256))
86 idate(2)=char(mod(itemp,256))
subroutine w3ymdh4(idate, iyear, month, iday, ihour, nn)
Obtains the components of the nmc date word (ncep y2k compliant form), or given its components,...