<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Alan for the reply and input, as well as to Jack. <div><br></div><div>I indeed only have 12 time elements available, and can create more or less spatial elements (currently there are 167). However it appears that, regardless of the plotting program (I've tried Python as well with the same result), that the small time dimension (which I can't add more available times) makes it difficult to get this signal without the result that NCL is plotting in the top right. And I do not think I have the energy to manipulate NCL's plotting procedure to change how it does the contour filling for my case.</div><div><br></div><div>If anyone does think of a solution to interpolate the steps in-between the positive sensitivity values in the top right, please let me know. Otherwise I will try and think of alternative methods to get the signal. </div><div><br></div><div>But I will say: Thank you to all on NCL-Talk for your attention and input. I appreciate your insights.</div><div><br></div><div>Best Wishes,</div><div>Jeremy</div><div><br></div><div><br><div><div>On Feb 23, 2016, at 1:18 PM, Alan Brammer <<a href="mailto:abrammer@albany.edu">abrammer@albany.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Let’s try and actually attach an image this time. <div class=""><span><var2_all in combined_fields.png></span></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 23 Feb 2016, at 13:16, Alan Brammer <<a href="mailto:abrammer@albany.edu" class="">abrammer@albany.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I don’t have a solution but to show that it’s not really an NCL thing here is the same data in Panoply. I think it’s really a problem with the big mismatch in dimension sizes. I can’t think of a way to interpolate the steps in the top right without getting the result NCL is plotting. </div><div class=""><br class=""></div><div class="">Higher temporal resolution would smooth out the step function. </div><div class=""><div class=""><br class=""></div><div class=""><br class=""></div></div><div class=""><img src="webkit-fake-url://a0b8b12f-9951-4905-8b71-3f6055e513e0/image.tiff" class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On 23 Feb 2016, at 13:10, Jack Ogaja <<a href="mailto:jack.ogaja@gmail.com" class="">jack.ogaja@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Jeremy,<br class=""><br class="">Yes, your variables readings are correct, my earlier suggestion was wrong. However, I don’t see any way of selectively filling the areas between the contour levels using “gsn_csm_contour”. I think “cnFillon = True” will always fill all areas between the contour levels. Probably the only way is to use “gsn_contour_shade” just exactly as you have done for the statistical significance.<br class=""><br class="">Or maybe somebody else have an idea…<br class=""><br class="">Jack<br class=""><br class=""><blockquote type="cite" class="">On 23 Feb 2016, at 17:12, Jeremy Berman <<a href="mailto:jdberman@albany.edu" class="">jdberman@albany.edu</a>> wrote:<br class=""><br class="">Hi Jack,<br class=""><br class="">Thanks for the response. I double-checked, but the variables read in my script are correct: var1_all (ensemble-mean values) is stored correctly in cntfld (for contour lines), var2_all (sensitivity values) is stored correctly in shdfld (for the color fill or shading), and for that matter tscore_all is stored correctly in stsfld (for the stippling). I should mention that the color fill and contouring in the previously attached image for the most part is what I expected --- with the exception being the issue I brought up.<br class=""><br class="">To reiterate my issue: I don't understand how or why NCL is doing the color fill of low positive sensitivity between the "boxes" of high positive sensitivity (the color fill) (e.g., at 1400 km at 21 h, 1600 km at 24 h, 1800 at 27 h, etc.), rather than just having the signal be persistent between those boxes. Again, there is only data every 3 hours (as labeled on the y-axis) so there are no values in-between those "boxes" but NCL appears to be treating those regions as some other value.<br class=""><br class="">Thus my problem still persists. If you or anyone have any ideas to address this issue, that would be much appreciated. <br class=""><br class="">Thanks,<br class="">Jeremy<br class=""><br class="">On Feb 23, 2016, at 6:13 AM, Jack Ogaja <<a href="mailto:jack.ogaja@gmail.com" class="">jack.ogaja@gmail.com</a>><br class="">wrote:<br class=""><br class=""><blockquote type="cite" class="">It looks like you are just mixing up the variables. If you switch var1_all and var2_all and re-evaluate your level limits you will probably see what you expect.<br class=""><br class="">Jack<br class=""><br class=""><blockquote type="cite" class="">On 22 Feb 2016, at 21:51, Jeremy Berman <<a href="mailto:jdberman@albany.edu" class="">jdberman@albany.edu</a>> wrote:<br class=""><br class="">Hello,<br class=""><br class="">I am creating a Hovmoller using data that was computed based off of a WRF simulation (15 km grid, output every 3 hours). The data consists of an ensemble-mean isentropic level of potential vorticity, sensitivity values, and a student's t-test; all as a function of time (12 different forecast hours) and distance along the hovmoller (~2400 km). My NCL script reads in this data, and overlays these three variables on a single plot, as a function of forecast hour and distance --- the resulting plot is attached.<br class=""><br class="">The issue is focused on the shading and how NCL is plotting it. The shading corresponds to the sensitivity values, with positive (negative) values in the warm (cool) colors. However, NCL seems to be doing something weird with interpolating between the data points. For example: there are boxes of high positive sensitivity at 1400 km at 21 h, 1600 km at 24 h, 1800 at 27 h, etc.<br class=""><br class="">Thus my question is: Is there something wrong with how I am plotting the data in NCL? Such as with my resources? I am using Rasterfill for example, which has worked in previous applications, but have tried other ones with the same result. Or is there something inherently wrong with using NCL for this application?<br class=""><br class="">Has anyone experienced this plotting problem before, and have any suggestions? Attached is the .nc file (combined_fields.nc), the main NCL script (hovmoller_clean_pv.ncl), and the outputted image (NCL_hovmoller_335K_PV.png). I am using NCL version 6.1.2.<br class=""><br class="">Thank you for your time and consideration.<br class=""><br class="">Many Thanks,<br class=""><br class="">Jeremy Berman<br class="">PhD Graduate Student<br class="">University at Albany/SUNY<br class=""><br class=""><NCL_hovmoller_335K_PV.png><hovmoller_clean_pv.ncl><combined_fields.nc><br class=""><br class="">_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></blockquote><br class=""></blockquote><br class=""></blockquote><br class="">_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br></div></body></html>