<div dir="ltr"><div>Dear NCL users,</div><div><br></div><div>I need to plot aerosol optical depth(AOD) from WRF-chem outputs. I follow the structure( script attached), however,<div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/1-9zPQ-P6cmvrYs86CCeiNB-VU66Nuluw/view?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" aria-label="wrfout_d01_2010-07-14_00:00:00"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">wrfout_d01_2010-07-14_00:00:00</span></a><img src="//ssl.gstatic.com/ui/v1/icons/common/x_8px.png" style="opacity: 0.55; cursor: pointer; float: right; position: relative; top: -1px; display: none;"></div> the NCL returned this error:</div><div>   <span style="background-color:rgb(255,217,102)">Error: scalar_field: If the input data is 1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of the same length.</span></div><div>My question is how can I set <span style="background-color:rgb(255,255,255)">sfXArray and sfYArray to 1-dimensional arrays of the same length, please?</span></div><div><span style="background-color:rgb(255,255,255)">Many thanks in advance,</span></div><div><span style="background-color:rgb(255,255,255)">Best wishes,<br></span></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">S.Rahimi<br><br></div></div></div>