[ncl-talk] Struggle to convert WRF times to UTC for simple XY plot

Nicholas Thomas Luchetti Nicholas.Luchetti at colorado.edu
Mon Jun 25 12:44:43 MDT 2018


Hi all,

I am struggling to convert my x-axis time labels to UTC when plotting WRF
output...

I've tried following the time_labels_3.ncl example:
https://www.ncl.ucar.edu/Applications/Scripts/time_labels_3.ncl

but can't seem to get it to even recognize the time_axis_labels function.
It gives an error (screenshot attached) before even starting the script...

Additionally, my WRF simulations output every 5 minutes, so when I use the
wrf_times_c function for hours since the beginning of the simulation, the
times are listed as decimals (see attached screenshot)... Could this be an
issue considering the example script displays a perfect 60 minute output
from a WRF simulation?

I've also attached my script. Does anyone know of a quick fix for this? Or
do I need to figure out a better way to convert the times to a useable
format?

Thanks,

Nick Luchetti

-- 
Nicholas Luchetti
Graduate Student
Department of Atmospheric and Oceanic Sciences (ATOC)
CU Boulder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180625/672d60bc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2018-06-25 at 12.29.21 PM.png
Type: image/png
Size: 76077 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180625/672d60bc/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2018-06-25 at 12.28.58 PM.png
Type: image/png
Size: 249391 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180625/672d60bc/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_061315_line.ncl
Type: application/octet-stream
Size: 14862 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180625/672d60bc/attachment-0001.obj>


More information about the ncl-talk mailing list