<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The variables you are passing to the "gsn_contour()" function are dimensioned “taus x levels” which the function interprets as the “Y-axis x X-axis” arrays respectively. This do not correspond to the res attributes e.g. "rh_res@sfXArray = taus”, "rh_res@sfYArray = levels”, etc. The same applies to the "gsn_vector()" function.<div class=""><br class=""></div><div class="">You may consider reordering your variables dimensions before plotting, for example</div><div class="">;---------------</div><div class=""> tempisobarN = tempisobar( level | :, time | :)</div><div class="">;———————</div><div class=""><br class=""></div><div class="">Jack</div><div class=""> <br class=""><div><blockquote type="cite" class=""><div class="">On 29 Mar 2016, at 01:04, Guilherme Martins <<a href="mailto:jgmsantos@gmail.com" class="">jgmsantos@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi users,<div class=""><br class=""></div><div class="">I'm using the script below:</div><div class=""><br class=""></div><div class=""><a href="http://www.ncl.ucar.edu/Applications/Scripts/meteo_1.ncl" class="">http://www.ncl.ucar.edu/Applications/Scripts/meteo_1.ncl</a><br class=""></div><div class=""><br class=""></div><div class="">To plot the meteogram, but I'm getting somes warnings messages like this:</div><div class=""><br class=""></div><div class=""><div class="">warning:ScalarFieldSetValues: coordinate array sfXArray requires 7 elements: defaulting</div><div class="">warning:ScalarFieldSetValues: coordinate array sfYArray requires 20 elements: defaulting</div><div class="">warning:ScalarFieldSetValues: coordinate array sfXArray requires 7 elements: defaulting</div><div class="">warning:ScalarFieldSetValues: coordinate array sfYArray requires 20 elements: defaulting</div><div class="">warning:VectorFieldSetValues: coordinate array vfXArray requires 7 elements: defaulting</div><div class="">warning:VectorFieldSetValues: coordinate array vfYArray requires 20 elements: defaulting</div></div><div class=""><br class=""></div><div class="">My taus and levels variables contain 20 and 7 values, respectively. I can't understand my error.</div><div class=""><br class=""></div><div class="">The second part of script (line graphics) it's ok, but the first part, to create the cross section is wrong. My script, picture and ncl_filedump output are in attachment.</div><div class=""><br class=""></div><div class="">I was seeing the file that Dennis send me to see the structure this file and compare with my file, but I don't know what I'm doing wrong in the script.</div><div class=""><br class=""></div><div class="">Thanks in advance,<br class=""></div><div class=""><br class=""></div><div class="">Guilherme Martins.</div></div><div dir="ltr" class="">-- <br class=""></div><div dir="ltr" class=""><div class=""><font size="2" class=""><div class="">------------------------------------------------------------------------------------------</div><div class="">Dr. Guilherme Martins</div><div class="">Instituto Nacional de Pesquisas Espaciais (INPE)<br class=""></div></font></div><div class=""><font size="2" class="">Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES<br class=""></font>Grupo de Superfície-Biosfera-Atmosfera (GSBA)<font size="2" class=""><br class=""></font></div><div class="">Telefone (INPE/CP): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580<br class="">E-mail: <a href="mailto:guilherme.martins@inpe.br" class="">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com" class="">jgmsantos@gmail.com</a><br class="">Skype: guilherme.martins.<br class="">Homepage: <a href="https://sites.google.com/site/jgmsantos" class="">https://sites.google.com/site/jgmsantos</a><br class="">Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803" class="">http://lattes.cnpq.br/5997657584785803</a><span class=""><br class=""></span>------------------------------------------------------------------------------------------</div></div>
<span id="cid:153bf6fd4fdaab86ada3"><ncl_filedump.txt></span><span id="cid:153bf6cbee0df6cf381"><ex01_meteograma.ncl></span><span id="cid:153bf6cbef0df6d6d32"><ex01_meteograma.pdf></span>_______________________________________________<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="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></body></html>