<div dir="ltr"><div>Hi,</div><div><br></div><div>Looking at the code for advect_var, ier=100 corresponds to the warning you are seeing. The code checks that the dimensions and sizes of the 3 input variables are all the same. I see in your script you printed dimsizes(u) -- what are the sizes for variables "v" and "T"?</div><div><br></div><div>Rick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 20, 2021 at 1:12 PM Jackson Wiles via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="EN-US"><div class="gmail-m_9213726468614806049WordSection1"><p class="MsoNormal">Hello,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am using ncl to try to plot temperature advection for a simulation produced by the Weather Research and Forecasting model. I have attached the temperature advection script to this email. However, I have been given an error. The total output from running the script is listed below.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Copyright (C) 1995-2015 - All Rights Reserved</p><p class="MsoNormal"> University Corporation for Atmospheric Research</p><p class="MsoNormal"> NCAR Command Language Version 6.3.0</p><p class="MsoNormal"> The use of this software is governed by a License Agreement.</p><p class="MsoNormal"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Variable: times</p><p class="MsoNormal">Type: string</p><p class="MsoNormal">Total Size: 200 bytes</p><p class="MsoNormal"> 25 values</p><p class="MsoNormal">Number of Dimensions: 1</p><p class="MsoNormal">Dimensions and sizes: [25]</p><p class="MsoNormal">Coordinates:</p><p class="MsoNormal">Number Of Attributes: 2</p><p class="MsoNormal"> description : times in file</p><p class="MsoNormal"> _FillValue : missing</p><p class="MsoNormal">(0) 2017-10-08_12:00:00</p><p class="MsoNormal">(1) 2017-10-08_13:00:00</p><p class="MsoNormal">(2) 2017-10-08_14:00:00</p><p class="MsoNormal">(3) 2017-10-08_15:00:00</p><p class="MsoNormal">(4) 2017-10-08_16:00:00</p><p class="MsoNormal">(5) 2017-10-08_17:00:00</p><p class="MsoNormal">(6) 2017-10-08_18:00:00</p><p class="MsoNormal">(7) 2017-10-08_19:00:00</p><p class="MsoNormal">(8) 2017-10-08_20:00:00</p><p class="MsoNormal">(9) 2017-10-08_21:00:00</p><p class="MsoNormal">(10) 2017-10-08_22:00:00</p><p class="MsoNormal">(11) 2017-10-08_23:00:00</p><p class="MsoNormal">(12) 2017-10-09_00:00:00</p><p class="MsoNormal">(13) 2017-10-09_01:00:00</p><p class="MsoNormal">(14) 2017-10-09_02:00:00</p><p class="MsoNormal">(15) 2017-10-09_03:00:00</p><p class="MsoNormal">(16) 2017-10-09_04:00:00</p><p class="MsoNormal">(17) 2017-10-09_05:00:00</p><p class="MsoNormal">(18) 2017-10-09_06:00:00</p><p class="MsoNormal">(19) 2017-10-09_07:00:00</p><p class="MsoNormal">(20) 2017-10-09_08:00:00</p><p class="MsoNormal">(21) 2017-10-09_09:00:00</p><p class="MsoNormal">(22) 2017-10-09_10:00:00</p><p class="MsoNormal">(23) 2017-10-09_11:00:00</p><p class="MsoNormal">(24) 2017-10-09_12:00:00</p><p class="MsoNormal">(0) Working on time: 2017-10-08_12:00:00</p><p class="MsoNormal">(0) 25</p><p class="MsoNormal">(1) 49</p><p class="MsoNormal">(2) 185</p><p class="MsoNormal">(3) 235</p><p class="MsoNormal">(0) The script can run this far</p><p class="MsoNormal">(0) advect_var: all input arguments must have the same dimension sizes</p><p class="MsoNormal">(0) ranku=4</p><p class="MsoNormal">(0) rankv=4</p><p class="MsoNormal">(0) rankx=4</p><p class="MsoNormal">(0) advect_var: Warning: No named dimensions. Can not check grid order.</p><p class="MsoNormal">(0) advect_var fatal error(s) encountered: ier=100</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am not sure how to fix this issue. I have been trying to use the advection variable function in ncl based off of the following link <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/advect_variable.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/advect_variable.shtml</a>. Any information or help regarding this issue would be greatly appreciated. </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you!</p><p class="MsoNormal">Jackson<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>