<div dir="ltr"><div class="gmail_default" style="font-size:small">Zhifeng,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">After tweaking your script a little so I could run it, I was able to reproduce the seg fault with NCL V6.3.0.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I then tried NCL V6.4.0 on it, and it worked. I had to copy one of the two WRF output files to the rest of the files that the script was expecting so it could run to completion.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you would like to try NCL V6.4.0 now, let me know what kind of system you have and I can give you a binary to try. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 8:52 AM, Zhifeng Yang <span dir="ltr"><<a href="mailto:yangzf01@gmail.com" target="_blank">yangzf01@gmail.com</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"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div>Hi<br><br></div>I am plotting vertical cross section plot with wind vector using WRF output file. I got an error while I plot the image using gsn_csm_vector_scalar_map_ce within a loop. I can plot the image with the 1st loop. However, there is a segmentation fault just after the call of the procedure. If I rewrite the code by merging the procedure with main code, it will plot smoothly without any segmentation fault. To me, it is very weird. Here is the main code and procedure. Also I attached some WRF output for your reference.<br><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/0B75ocgChenm7anQ5QkI2cXV1SHM/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">wrfout_d01_2015-06-01_00:00:0<wbr>0</span></a><img style="opacity:0.55;float:right;display:none"></div><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B75ocgChenm7ZFJyQ2ExWWNadkk/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">wrfout_d01_2015-06-01_01:00:0<wbr>0</span></a><img style="display:none;opacity:0.55;float:right"></div>Please help me to figure this out. Thank you so much.<br><br></div>Best,<br></div>Zhifeng<br></div>
<br></div><br></div>
<br></div><br></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>