[gradsusr] time format on HRRR images

jason at solargrafix.com jason at solargrafix.com
Mon Feb 27 07:59:16 EST 2017


Hello,  I am having some difficulties formatting the time stamp for my
outputted HRRR model images.  Here is the code I use for the time stamp:

 

  'q time'

    timestr=subwrd(result, 3)

    weekday1=subwrd(result,6)

    day=substr(result, 11, 9)

    hr=substr(result, 7, 20)

    h=substr(result, 8, 3)

    m=substr(result, 13, 3)

    d=substr(result, 11, 2)

    y=substr(result, 16, 4)

   'draw string 7.8 0.3 'h' 'weekday1' 'm' 'd', 'y

 

But the output shows up like this on my HRRR images:   02: Tue z28 59, FEB2

 

Any assistance would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170227/51033f2d/attachment.html 


More information about the gradsusr mailing list