31 data cmon/
'January ',
'February ',
'March ',
32 &
'April ',
'May ',
'June ',
33 &
'July ',
'August ',
'September ',
34 &
'October ',
'November ',
'December '/
36 data cdow/
'Sunday ',
'Monday ',
'Tuesday ',
37 &
'Wednesday ',
'Thursday ',
'Friday ',
43 jldayn=
iw3jdn(idat(1),idat(2),idat(3))
44 call w3fs26(jldayn,jy,jm,jd,jdow,jdoy)
47 if(idat(2).ge.1.and.idat(2).le.12) ctmp(2)=cmon(idat(2))
48 write(ctmp(3),
'(i2,", ",i4)') idat(3),idat(1)
49 write(ctmp(4),
'(i4,"-",i2.2,"-",i2.2)') idat(1),idat(2),idat(3)
50 write(ctmp(5),
'(i4,".",i3.3)') idat(1),jdoy
51 write(ctmp(6),
'(i2.2,":",i2.2,":",i2.2)') idat(5),idat(6),idat(7)
52 write(ctmp(7),
'(".",i3.3)') idat(8)
54 write(ctmp(8),
'("UTC")')
55 elseif(mod(idat(4),100).eq.0)
then
57 write(ctmp(8),
'("UTC",sp,i3.2,"h")') kh
60 km=abs(mod(idat(4),100))
61 write(ctmp(8),
'("UTC",sp,i3.2,"h",ss,i2.2,"m")') kh,km
function iw3jdn(iyear, month, iday)
Computes julian day number from year (4 digits), month, and day.
subroutine w3fs26(jldayn, iyear, month, iday, idaywk, idayyr)
Computes year (4 digits), month, day, day of week, day of year from julian day number.
subroutine w3pradat(idat, cdat)
This subprogram forms various character strings useful in describing an NCEP absolute date and time.