<div dir="ltr">Dear Sir Dennis,<div><br></div><div>Thank you for the help. I got it clearly.</div><div><br></div><div><br></div><div>Sincerely,</div><div><br></div><div>Lyndz<br><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Aug 10, 2017 at 7:16 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">re: <br><span class=""><div>"Has anyone tried to plot a heatmap using NCL or is this possible to do in NCL?"<br><br></div></span><div>Your use if the term 'heatmap' is misleading. Anomalies (W/m2) are being plotted. However, the values could be anything .. not necessarily 'heat'.<br><br></div><div>Given that the y-axis is 'YEAR' and the x-axis is 'day', a more appropriate classification would be a 'time-time' (year-day) plot.<br></div><div><br>---<br></div><div>re: "Is this possible to do in NCL?"<br><br>Yes, of course NCL can do it. Likely any tool could be used. <br>Actually, the plot looks like an NCAR Graphics plot.<br>---<br></div><div>re: "the sample data"<br><br></div><div>The sample data file contains <b>monthly</b> precipitation. This<b> can not </b>be used to create the <b>daily</b> plot you attached. You <b>must </b>use daily data.<br>---<br></div><div>re: attached plot<br><br></div><div>This looks like colored anomalies were plotted and, the then another variable was overlaid.<br></div><div><br></div><div>[1] read daily data<br></div><div>[2] create daily climatology<br></div><div>[3] calculate daily anomalies<br></div><div>[4] for each year; extract the days spanning 15 May through 15 July<br></div><div>[5] populate the array with the values for [4]<br></div><div>[6] add appropriate meat data<br></div><div>[7] plot a contour map; no overlays were performed.<br><br></div><div>NCL has the climatology functions and date functions necessary to create a 'time-time plot. However, most of the work is book-keeping.<br><br>===<br></div><div>The area you are using is so 'small' that simple averaging is adequate.<br><br>===<br></div><div>I had an existing code that uses daily OLR values to compute daily climatologies and anomalies. I added many comments and print statement. Please look carefully.<br><br></div><div>Many comments point to the documentation for the functions being used. Again, please read.<br><br></div><div>The figures show how to change the x-axis (day/month-day) labels<br><br></div><div>Good luck<br></div><div> <br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Aug 8, 2017 at 10:37 PM, Lyndon Mark Olaguera <span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.<wbr>com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div class="m_-1082013363693673915m_-7539452524775578494gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL experts,</div><div><br></div><div>Has anyone tried to plot a heatmap using NCL or is this possible to do in NCL?</div><div><br></div><div>I am trying to plot month-day versus year plot similar to the attached figure.</div><div><br></div><div>I want to apply this on an area averaged time series (here's the link to the sample data)</div><div><a href="https://www.dropbox.com/s/0jax40zbr231sdu/cmap.nc?dl=0" target="_blank">https://www.dropbox.com/s/0jax<wbr>40zbr231sdu/cmap.nc?dl=0</a><br></div><div><br></div><div><br></div><div>I'll appreciate if anyone can point me in the right functions to create this.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Sincerely,</div><div><br></div><div>Lyndz</div></div></div></div></div></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>