<div dir="ltr">Hello, <div><br></div><div>Thanks for reply! Sorry I attached a old script. Yes, I commented out those three lines. The error message is the same. Attachments are the updated script and the .out file just generated.</div><div><br></div><div>Also, to avoid the advancing frame, should I just remove the "frame(wks)" line?</div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 3:02 PM, Adam Phillips <span dir="ltr"><<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@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">Hi Ying,<div>I'm just checking as some lines are not commented: Did you comment out these lines:</div><div><div> res@trXMaxF = 61</div><div> res@trYMinF = 0.0 ; Limits for Y axis. percentage from 0 to 100.<br></div></div><div><div> res@trYMaxF = 1.0</div></div><div><br></div><div>If you didn't I would suggest commenting them out and trying again.</div><div><br></div><div>With regards to why you are getting two frames: By default gsn_csm_contour will draw the plot to the workstation and advance to the next frame. (Advancing to the next frame can be thought of as flipping to the next page of your workstation.) You have the following right after your gsn_csm_contour call:</div><div>frame(wks)</div><div>That line tells NCL to advance the frame. Thus, you have 2 frame calls and two output pages.</div><div><br></div><div>Hope that helps. If not please respond to the ncl-talk email list. </div><div>Adam</div><div><br></div><div><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 Mon, Jan 9, 2017 at 1:50 PM, Ying Song <span dir="ltr"><<a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</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">Hello, <div><br></div><div>I got this error when running my NCL script:</div><div><div>------------------------------<wbr>-</div><div>warning:ContourPlotInitialize: X coordinates out of data range: defaulting</div><div>warning:ContourPlotInitialize: Zero X coordinate span: defaulting:[errno=1104]</div><div>----------------------------</div><div><br></div><div>I asked the question in a previous email and NCL people suggest me to comment out any trX/YMin/MaxF resources first then see what the X and Y axis looks like. I modified my script following the suggestion, but the error message is still the same. Also, the plot includes two pages but I only plot one. Don't understand why this happened. </div><div><br></div><div>I think I'd better write a new email with appropriate title so others who have same problem can find it easily. I attached my ncl script, fortran script I used with WRAPIT, and the .out file from yellowstone job output.</div><div><br></div><div>Thank you very much for the help!</div><span class="m_-393016981757706909HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-393016981757706909m_7780451967445354357gmail_signature"><div dir="ltr"><div>Ying Song, PhD, Post Doctoral Fellow </div><div>Department of Earth and Atmospheric Sciences</div><div>Saint Louis University</div><div><br></div><div><a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a></div><div><br></div></div></div>
</font></span></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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-393016981757706909gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/<wbr>asphilli/</a> </font></span><span><font color="#888888"><a href="tel:(303)%20497-1726" value="+13034971726" target="_blank">303-497-1726</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ying Song, PhD, Post Doctoral Fellow </div><div>Department of Earth and Atmospheric Sciences</div><div>Saint Louis University</div><div><br></div><div><a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a></div><div><br></div></div></div>
</div>