<div dir="ltr"><div dir="ltr"><div>The following is a guess<b> </b>at what you want.. <br></div><div>It is <b>*your responsibility*</b> to fix it if it is not. <br></div><div>Think about what is being done.<br></div><div><br></div><div>---<br></div><div> do n=0,nPhase-1<span style="color:rgb(0,0,255)"></span></div><div><span style="color:rgb(0,0,255)"><b> print("--------------------------------------------------------")<br> print("--------------> nSeason="+nSeason+": Phase="+(n+1)+" <------------")<br> print("--------------------------------------------------------")</b></span></div><div><b>...</b></div><div><b> </b>nDays(na) = dimsizes(nt)<b><br><span style="color:rgb(0,0,255)"> ymd_phase := cd_calendar(time(nt),-2)<br> print("nDays(na)="+nDays(na))<br> print("ymd_phase="+ymd_phase)</span><br></b></div><div><b>---</b></div><div><b><br></b></div><div>(0) --------------------------------------------------------<br>(0) -------> nSeason=1: Phase=1 ---------<br>(0) --------------------------------------------------------<br>(0) nDays(na)=32<br>(0) ymd_phase=20160515<br>(1) ymd_phase=20160516<br>(2) ymd_phase=20160517<br>(3) ymd_phase=20160518<br>(4) ymd_phase=20160519<br>(5) ymd_phase=20160621<br>(6) ymd_phase=20160622<br>(7) ymd_phase=20160623<br>(8) ymd_phase=20160624<br>(9) ymd_phase=20160625<br>(10) ymd_phase=20160626<br>(11) ymd_phase=20160627<br>(12) ymd_phase=20160928<br>(13) ymd_phase=20160929<br>(14) ymd_phase=20160930<br>(15) ymd_phase=20161001<br>(16) ymd_phase=20161002<br>(17) ymd_phase=20161003<br>(18) ymd_phase=20161004<br>(19) ymd_phase=20161027<br>(20) ymd_phase=20161028<br>(21) ymd_phase=20161029<br>(22) ymd_phase=20161030<br>(23) ymd_phase=20170716<br>(24) ymd_phase=20170717<br>(25) ymd_phase=20170718<br>(26) ymd_phase=20170719<br>(27) ymd_phase=20171012<br>(28) ymd_phase=20171013<br>(29) ymd_phase=20171014<br>(30) ymd_phase=20171015<br>(31) ymd_phase=20171016<b><br></b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 8:25 AM reza tisa via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</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>Hello NCL User,</div><div>I am on working to plot mjoclivar_16 (<a href="https://www.ncl.ucar.edu/Applications/Scripts/mjoclivar_16.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/mjoclivar_16.ncl</a>).</div><div>The default script is plotting vector figure and the total day on each phase.<br></div><div>How i see/print what date and what phase that happening?</div><div>I also include my file<br></div><div>olr anomaly:<br><div><div id="gmail-m_3496262759521806153gmail-m_-4974642667744152549gmail-m_-3475226667931583134gmail-:1r" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div id="gmail-m_3496262759521806153gmail-m_-4974642667744152549gmail-m_-3475226667931583134gmail-:1s" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div><a href="https://drive.google.com/open?id=1lgzfmmadfmXUWkUT1n8DAsTbvp0oQ-Fc" target="_blank">https://drive.google.com/open?id=1lgzfmmadfmXUWkUT1n8DAsTbvp0oQ-Fc</a></div><div><br></div><div>uwnd 850 anomaly</div><div><a href="https://drive.google.com/open?id=1PKpTYxGT5VAE6F5ydu0j89VHlRN7gC9p" target="_blank">https://drive.google.com/open?id=1PKpTYxGT5VAE6F5ydu0j89VHlRN7gC9p</a></div><div><br></div><div>vwnd 850 anomaly<br></div><div><a href="https://drive.google.com/open?id=1dHLN40qMCihCeTdBuX48tgJfRlW9HCZC" target="_blank">https://drive.google.com/open?id=1dHLN40qMCihCeTdBuX48tgJfRlW9HCZC</a></div><div><br></div><div>mjo pc index (got by running mjo clivar_14):</div><div><a href="https://drive.google.com/open?id=1pr6wTdRXE0AWaPbh-Q8wWHca8NZLTLQw" target="_blank">https://drive.google.com/open?id=1pr6wTdRXE0AWaPbh-Q8wWHca8NZLTLQw</a></div></div></div></div></div></div><div><br></div><div>Regards,</div><div>Reza</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a></blockquote></div>
</div>