<div dir="ltr">Hi Yohan,<div><br></div><div>I would first want to make sure your data is valid: try printing the max and min of each variable. Also make sure that there are no NaN values in the data. You can use isnan_ieee to discover whether there are NaNs in the data. If the data seems okay, then I would like to take a look at your complete script along with the data. Please look at "Report bugs" under the "Support" tab on the NCL web site. Let me know offline when you have uploaded the relevant files. Thank you.</div>
<div> -dave</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 5:33 PM, <span dir="ltr"><<a href="mailto:ruprich@cerfacs.fr" target="_blank">ruprich@cerfacs.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL users,<br>
<br>
I have some problem using the vcGlyphStyle resource. When I chose the<br>
option "CurlyVector", my script leads to a Segmentation fault.<br>
Do you know any reason for that?<br>
<br>
Here is some pieces of my script:<br>
<br>
1) I load 2 variables:<br>
<br>
Variable: var1<br>
Type: float<br>
Total Size: 51840 bytes<br>
12960 values<br>
Number of Dimensions: 2<br>
Dimensions and sizes: [lat | 90] x [lon | 144]<br>
Coordinates:<br>
lat: [-89.49438..89.49438]<br>
lon: [1.25..358.75]<br>
Number Of Attributes: 2<br>
_FillValue : -1e+10<br>
average_op_ncl : dim_avg_n over dimension(s): time<br>
<br>
<br>
Variable: var2<br>
Type: float<br>
Total Size: 51840 bytes<br>
12960 values<br>
Number of Dimensions: 2<br>
Dimensions and sizes: [lat | 90] x [lon | 144]<br>
Coordinates:<br>
lat: [-89.49438..89.49438]<br>
lon: [1.25..358.75]<br>
Number Of Attributes: 2<br>
_FillValue : -1e+10<br>
average_op_ncl : dim_avg_n over dimension(s): time<br>
<br>
<br>
<br>
2) I define the resources for my plot:<br>
res = True<br>
<br>
res@gsnDraw = False ; don't draw<br>
res@gsnFrame = False ; don't advance frame<br>
res@gsnAddCyclic = True<br>
res@vcGlyphStyle = "CurlyVector"<br>
<br>
<br>
<br>
3) I plot:<br>
wks = gsn_open_wks(pltTypeLocal, plotDir+plotName)<br>
plot = new(1, "graphic")<br>
<br>
plot(0) = gsn_csm_vector_map(wks, var1, var2, res)<br>
<br>
draw(wks)<br>
frame(wks)<br>
<br>
<br>
<br>
That's pretty much it... And if I run this script without the<br>
"CurlyVector" option it works.<br>
<br>
Than you,<br>
Yohan<br>
<br>
PS: I am running this script with the 6.1.2 ncl version<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>