<div dir="ltr">Thank You again Mr.Dave, It works.<div>I am following your suggesstion to took 12-months periods, and it looks great.</div><div>Best Regards,</div><div>Reza</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pada tanggal Rab, 1 Jan 2020 pukul 02.16 Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> menulis:<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 dir="ltr"><div>This error is more subtle. I took a quick look at the code for mjoclivar_15. It looks like it is currently set up for a maximum of 11 or 12 months, but you are trying to plot 24 months. To begin, try reducing the time range.</div><div><br></div><div>Later you could experiment with increasing certain arrays to accommodate a longer time range. However, notice that there will be a trade-off. The MJO plot will start to become overcrowded and hard to read. What do you think would be better for your project? A single dense plot, or separate plots for 12-month periods?</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 31, 2019 at 4:10 AM reza tisa <<a href="mailto:rezatisa1@gmail.com" target="_blank">rezatisa1@gmail.com</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 dir="ltr"><div>Now i already adding at least 100 days before and after the date i want to get (20160101-20171231),</div><div>i set the mjoclivar_14 like this<br></div><div>mjoclivar_14:</div><div><b> ymdStrt = 20150910 ; start yyyymmdd<br> ymdLast = 20180415 ; last <br></b></div><div><br></div><div>Result file :<b><br></b></div><div>MJO_PC_INDEX.nc <b>: </b><a href="https://drive.google.com/open?id=1pr6wTdRXE0AWaPbh-Q8wWHca8NZLTLQw" target="_blank">https://drive.google.com/open?id=1pr6wTdRXE0AWaPbh-Q8wWHca8NZLTLQw</a></div><div><br></div><div>Then i set the time for mjoclivar_15<br></div><div>mjoclivar_15.ncl (<a href="https://drive.google.com/open?id=1TZO_iumtPSLuXITY8J4hRCKvfzBlzMrh" target="_blank">https://drive.google.com/open?id=1TZO_iumtPSLuXITY8J4hRCKvfzBlzMrh</a>):</div><div><b> ymdStrt = 20160101 ; start yyyymmdd<br> ymdLast = 20171231 ; last </b><br></div><div><br></div><div>and i got this error for mjoclivar_15:<br></div><div>.........<br></div><div>fatal:Subscript out of range, error in subscript #0<br>fatal:["Execute.c":8635]:Execute: Error occurred at or near line 149<br>..........</div><div>ncl 147> if (iday(nt).eq.1) then<br>ncl 148> nMon = nMon+1<br><b>ncl 149> monInfo(nMon,0) = namMonth(imon(nt)-1) </b><br>ncl 150> monInfo(nMon,1) = colMonth(imon(nt)-1) <br>ncl 151> end if</div><div>...........<br></div><div><br></div><div><b>This is my printVarSummary:</b></div><div><b>ncl 148> printVarSummary(namMonth(imon(nt)-1))</b><br></div><div>Variable: namMonth (subsection)<br>Type: string<br>Total Size: 8 bytes<br> 1 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [1]<br>Coordinates: <br></div><div><br></div><div><b>I also printVarSummary for pc1 and pc2 variable:</b><br></div><div><b>Variable: pc1</b></div>Type: float<br>Total Size: 2924 bytes<br> 731 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [time | 731]<br>Coordinates: <br> time: [1893408..1910928]<br>Number Of Attributes: 5<br> matrix : covariance<br> ts_mean : ( 3.883529e-09, -1.027128e-09 )<br> long_name : PC1<br> info : PC1/stddev(PC1)<br> _FillValue : 32766<br><b><br>Variable: pc2</b><br>Type: float<br>Total Size: 2924 bytes<br> 731 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [time | 731]<br>Coordinates: <br> time: [1893408..1910928]<br>Number Of Attributes: 5<br> matrix : covariance<br> ts_mean : ( 3.883529e-09, -1.027128e-09 )<br> long_name : PC2<br> info : PC2/stddev(PC2)<br> _FillValue : 32766<br>(0) PC1 : min=-2.94831 max=3.18312<br>(0) PC2 : min=-2.46549 max=2.53068<br>(0) Missing value count = 0<br><div>(0) Missing value count = 0</div><div><br></div><div>Any advice for this error?<br></div></div></blockquote><div> </div><div><snip></div></div></div>
</blockquote></div>