[ncl-talk] time labels on x axis

Gurer, Kemal@ARB kemal.gurer at arb.ca.gov
Tue Mar 16 18:00:23 MDT 2021


Hello,

I am reading "time", "height", and "backscatter" data from a ceilometer datafile in netcdf format and try to plot the backscatter on a time.vs.height cross section. I create the time labels in HH:MM:SS format from "time" variable that is given in seconds in the ceilometer data. But, I cannot plot the time labels on x-axis and get the following error:

warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value

Although I play with trXTensionF value as well as other modifications suggested on the internet, I cannot put the time labels on x axis. I don't want to create a custom time array and plot it since time will change each time I read a new ceilometer data. I attached my sample script, plot and the output of the ncl script to this email. Would you please advise what modification I need to do on my ncl script?

Thank you.

Kemal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210317/145a83c1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3.ncl
Type: application/octet-stream
Size: 3534 bytes
Desc: test3.ncl
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210317/145a83c1/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test3.out.txt
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210317/145a83c1/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3.png
Type: image/png
Size: 319792 bytes
Desc: test3.png
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210317/145a83c1/attachment-0001.png>


More information about the ncl-talk mailing list