<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>When attempting to run my ncl script to execute wrf_dbz using this function I get the following error. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>fatal:wrf_dbz: The prs array must have at least 3 dimensions<o:p></o:p></p><p class=MsoNormal>fatal:["Execute.c":8575]:Execute: Error occurred at or near line 266 in file MAIN_plot_Reflectivity_Txt.ncl<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Line 266 is the line trying to run the function. Can anyone help with this error. I am very new to ncl so apologize for my ignorance. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>263 ; Calculate Reflectivity<o:p></o:p></p><p class=MsoNormal> 264 ivarint = 0 ; or 1<o:p></o:p></p><p class=MsoNormal> 265 iliqskin = 1 ; or 1<o:p></o:p></p><p class=MsoNormal> 266 dbz = wrf_dbz( press1, tk1, qvapor1, qrain, qsnow, qgraup, ivarint, iliqskin)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is how I read the data. Trying to output a vertical profile of reflectivity over a given lat long. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>; Get fields from file<o:p></o:p></p><p class=MsoNormal> pbtemp1 = file1->$PBTEMPNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> qvapor1 = file1->$QVAPORNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> bapress1 = file1->$BAPRESNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> pbpress1 = file1->$PBPRESNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> bageopot1 = file1->$BAGEOPNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> pbgeopot1 = file1->$PBGEOPNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> uwrf1 = file1->$UCOMPNAME1$(TIME1,:,:,:)<o:p></o:p></p><p class=MsoNormal> vwrf1 = file1->$VCOMPNAME1$(TIME1,:,:,:)<o:p></o:p></p><p class=MsoNormal> qrain = file1->$QRAINNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> qsnow = file1->$QSNOWNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal> qgraup = file1->$QGRAUPELNAME1$(TIME1,:,i1,j1)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks and Happy Holidays!! <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Dave<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>