<div dir="ltr"><div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><font face="Arial" size="2">Dear ncl talk, </font><div><font face="Arial" size="2"><br></font></div><div><div dir="ltr"><div><font face="Arial" size="2">I’m a beginner with NCL, and I would greatly appreciate your advice regarding plotting the 532nm total backscatter coefficient from CALIPSO. I’ve attached my script to this message, which I modified from the script posted on <a href="http://www.ncl.ucar.edu/Applications/calipso.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/calipso.shtml</a> under the heading calipso_3.ncl. </font></div><div><font face="Arial" size="2"><br></font></div><div><font face="Arial" size="2">So far, I have not yet been able to construct my plot. Theoretically, I have all the values that I need: Lat/Lon, the total backscatter coefficient, and the altitude value which I extracted from the metadata. I have tried to troubleshoot my script, and examples of errors I received included errors with dimension mismatch between altitude heights and total backscatter coefficient. After I fixed that, it gave new errors complaining about the matched dimensions, etc. </font></div><div><font face="Arial" size="2"><br></font></div><div><font face="Arial" size="2">The first major error occurs at line 101:   </font></div><div><font face="Arial" size="2"><br></font></div><div><font face="Arial" size="2">TBC_532&hgt =  hgt ; </font></div><div><font face="Arial" size="2"><br></font></div><div><font face="Arial" size="2">Here, TBC_532 is total backscatter coefficient and hgt is my altitude height. Once NCL hits this line, it gives me the following error: </font></div><div><font face="Arial" size="2"><br></font></div><div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><b>fatal:Coordinate variables must be the same dimension as their dimension</b></font></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><b>fatal:No coordinate variable exists for dimension (hgt) in variable (TBC_532)</b></font></span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><font face="Arial" size="2"><br></font></span></div><div><font face="Arial" size="2">Afterwards, I changed the hgt dimensions to match the total backscatter coefficient dimension size (2 dimensions, 4224 * 399), but that also didn't work. I then collapsed both into a 1D array, but then it didn't allow me to plot either, and gave me the error: </font></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><b>Error: scalar_field: If the input data is 1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of the same length.</b></font></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><b>warning:create: Bad HLU id passed to create, ignoring it</b></font></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000" face="Arial" size="2"><br></font></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font color="#000000" face="Arial" size="2">If possible, could you give me some advice on how to move forward with my script? </font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font color="#000000" face="Arial" size="2"><br></font></div><div style="margin:0px;font-stretch:normal;line-height:normal"><font color="#000000" face="Arial" size="2">Thanks ag</font><font color="#000000" face="arial, helvetica, sans-serif" style="font-size:13px">ain,</font></div><div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal"><font color="#000000" face="arial, helvetica, sans-serif">Srishti</font></div><div><br></div></div><div class="gmail_extra">-- <br><div class="m_7345571147436828285m_-8736104017920439508gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Srishti Dasarathy<div>Graduate Student</div><div>Scripps Institution of Oceanography</div></div></div></div></div></div></div></div>