<div dir="ltr"><div>[1] Your data looks like<br></div><div><br>dimensions:<br> lon = 1 ;<br> lat = 1 ;<br> lev = 1 ;<br> time = UNLIMITED ; // (366 currently)<br>variables:<br></div> [SNIP]<br><div> float precip(time, lev, lat, lon) ;<br><br></div><div>[2] Your input should be<br><br></div><div> prc = f->precip(:,0,0,0) ; prc(:)<br><br></div><div>[3] *PLEASE* do not send direct emails. <br><br></div><div>Good luck<br></div><div><br> <br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 28, 2016 at 12:40 AM, Lyndon Mark Olaguera <span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am using the spectral analysis script from the ncl page (<a href="http://www.ncl.ucar.edu/Applications/Scripts/spec_1.ncl" target="_blank">http://www.ncl.ucar.edu/Appli<wbr>cations/Scripts/spec_1.ncl</a>) but encountered this problem:</div><div><br></div><div><div>fatal:Number of dimensions in parameter (0) of (specx_anal) is (4), (1) dimensions were expected </div><div>fatal:Execute: Error occurred at or near line 26 in file spec_1.ncl</div></div><div><br></div><div>Does anyone know how to solve this kind of problem?</div><div>I am attaching the files here.</div><div><br></div><div><br></div><div>Many Thanks</div><div><br></div><div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B9faET7Bc2o8dkNJVDVqeUFIelE/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><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:#15c;text-decoration:none;vertical-align:bottom">phil_aave_aphro.nc</span></a></div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B9faET7Bc2o8UDJDWTZyRW8xWG8/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><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:#15c;text-decoration:none;vertical-align:bottom">phil_aphro.nc</span></a></div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B9faET7Bc2o8ajZpT2NHWmg5Mmc/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><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:#15c;text-decoration:none;vertical-align:bottom">phil_aphro_precip.nc</span></a></div><br></div><div><div><div class="m_-278970847255021016m_-699578793974049632gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>