<div dir="ltr">Hi Rick,<div><span style="font-size:12.8px">printVarSummary tells the given message about the </span><span style="font-size:12.8px">variables "u" and "v"</span><br></div><div> </div><div><br></div><div><div>Variable: u</div><div>Type: float</div><div>Total Size: 26261400 bytes</div><div> 6565350 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[bottom_top | 55] x [south_north | 345] x [west_east_stag | 346]</div><div>Coordinates: </div><div>Number Of Attributes: 6</div><div> FieldType :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>104</div><div> MemoryOrder :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XYZ</div><div> description :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>x-wind component</div><div> units :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>m s-1</div><div> stagger :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>X</div><div> coordinates :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XLONG_U XLAT_U XTIME</div></div><div><br></div><div>(similarly for v)</div><div><br></div><div class="gmail_extra">Although I tried what Dennis suggested me but still my concern is to overcome by following error</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12.8px">fatal:Number of dimensions in parameter (1) of (gsn_csm_vector) is (3), (2) dimensions were expected</span><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br>Actually, wrf output variable U10, V10 have two dimensions and and U,V have three dimension, so kindly give me some idea about the above error.</div><div><br></div><div><br></div><div>Thanks,</div><div> </div><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Dec 4, 2017 at 11:06 PM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It is very difficult to tell what is wrong -- what does a printVarSummary tell you about the variables "u" and "v"?<br><br><br></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 2, 2017 at 4:45 AM, Gaurav Tiwari <span dir="ltr"><<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Dennis,<div><br></div><div> I done few changes what you suggested but still I am getting some error. </div><div>Current error is attached below</div><div><br></div><div><div>fatal:VectorFieldInitialize: dimensions of vfUDataArray and vfVDataArray are inconsistent</div><div>fatal:Unable to initialize layer-Can't Create</div><div>fatal:Unable to access object with id:-4</div><div>fatal:Unable to access object with id:-4</div><div>warning:Unable to add DataItem "(null)" to DataList "vcVectorFieldData"</div><div>fatal:CompileDataList:DataList has no valid members</div></div><div><br></div><div><br></div><div><br></div><div>Kindly let me know some ideas to plot wrf wind at different different pressure levels.</div><div><br></div><div><br></div><div>-Gaurav</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_5388920348670201650m_-6997865666513341679gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br><br><br>******************************<wbr>******************************<wbr>********</div><b>Gaurav Tiwari</b><div>Research Scholar</div><div>Department of Earth and Environmental Sciences</div><div>Indian Institute of Science Education and Research Bhopal <br>(IISER B)</div><div>Bhopal- 462066, Madhya Pradesh</div><div><span style="font-size:12.8px">Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank">+91-7471112407</a></span><br></div><div><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank">LinkedIn</a> <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank">Research gate</a><br><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 28, 2017 at 9:13 PM, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div> <br></div><div>u10 = wrf_user_getvar(f, "U10",it)<br> printVarSummary(u10) ; ===> [south_north | ?] x [west_east | ?]<br><br><br>---<br></div>u = wrf_user_getvar(f, "U",it)<br></div>printVarSummary(u) ; ===> [bottom_top | ?] x [south_north | ?] x [west_east_stag | ?]<br><br>---<br><pre>function gsn_csm_vector (
wks [1] : graphic,
u [*][*] : numeric, <=== 2-dimensions
v [*][*] : numeric, <=== 2-dimensions
res [1] : logical
)</pre></div>kl = 5<br>vector = gsn_csm_vector(wks,u(kl,:,:),v<wbr>(kl,:,:),vec_res)<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_5388920348670201650m_-6997865666513341679h5">On Mon, Nov 27, 2017 at 11:09 PM, Gaurav Tiwari <span dir="ltr"><<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_5388920348670201650m_-6997865666513341679h5"><div dir="ltr"><div><div class="gmail-m_5388920348670201650m_-6997865666513341679m_-1793808802693886668m_8246810015438070381m_-1803451719635502582gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear Mary,</div><div><br></div><div> I am trying to plot WRF model output wind at different different atmospheric pressure levels, but I am facing an error</div><div><br></div><div><div>atal:Number of dimensions in parameter (1) of (gsn_csm_vector) is (3), (2) dimensions were expected </div><div>fatal:["Execute.c":8640]:Execu<wbr>te: Error occurred at or near line 42 in file Zwind.ncl</div></div><div><br></div><div><br></div><div>The same script is working for U10, V10 but not for U,V.</div><span class="gmail-m_5388920348670201650m_-6997865666513341679m_-1793808802693886668HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>--Gaurav</div><div><br></div></font></span></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>
<br>______________________________<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>
</div></div></blockquote></div><br></div></div>