Re: WRITE-- FORMAT question





prasad413in@xxxxxxxxx wrote:

Thanks.. It worked.. But the date is variable 2005 Sep 28 0625 UTC  How
to deal with this one?

The same way you dealt with the date and time in format
2044. Use whatever explicit format you need.  For example
   write (204,2045) year, month, day, hour, minute, 'UTC'
2045 format (1x, i4, 1x, a3, 1x, i2, 1x, 2i2.2, 1x, a3)

If the date is stored in character variables instead
of integers, you'll need a descriptors instead of
I ones.

I used "2i2.2" for the hour and minute to force leading
zeros, so you'll get "0605" instead of " 6 5".

*** Hendrickson

Prasad


.