[ncl-talk] Print Which date each MJO Phase happened

Dennis Shea shea at ucar.edu
Fri Jan 10 06:04:19 MST 2020


The following is a guess at what you want..
It is **your responsibility** to fix it if it is not.
Think about what is being done.

---
  do n=0,nPhase-1


*    print("--------------------------------------------------------")
print("--------------> nSeason="+nSeason+":  Phase="+(n+1)+"
<------------")
print("--------------------------------------------------------")*
*...*
         nDays(na) = dimsizes(nt)



*         ymd_phase := cd_calendar(time(nt),-2)
print("nDays(na)="+nDays(na))         print("ymd_phase="+ymd_phase)*
*---*

(0) --------------------------------------------------------
(0) -------> nSeason=1:  Phase=1 ---------
(0) --------------------------------------------------------
(0) nDays(na)=32
(0) ymd_phase=20160515
(1) ymd_phase=20160516
(2) ymd_phase=20160517
(3) ymd_phase=20160518
(4) ymd_phase=20160519
(5) ymd_phase=20160621
(6) ymd_phase=20160622
(7) ymd_phase=20160623
(8) ymd_phase=20160624
(9) ymd_phase=20160625
(10) ymd_phase=20160626
(11) ymd_phase=20160627
(12) ymd_phase=20160928
(13) ymd_phase=20160929
(14) ymd_phase=20160930
(15) ymd_phase=20161001
(16) ymd_phase=20161002
(17) ymd_phase=20161003
(18) ymd_phase=20161004
(19) ymd_phase=20161027
(20) ymd_phase=20161028
(21) ymd_phase=20161029
(22) ymd_phase=20161030
(23) ymd_phase=20170716
(24) ymd_phase=20170717
(25) ymd_phase=20170718
(26) ymd_phase=20170719
(27) ymd_phase=20171012
(28) ymd_phase=20171013
(29) ymd_phase=20171014
(30) ymd_phase=20171015
(31) ymd_phase=20171016

On Thu, Jan 9, 2020 at 8:25 AM reza tisa via ncl-talk <ncl-talk at ucar.edu>
wrote:

> Hello NCL User,
> I am on working to plot mjoclivar_16 (
> https://www.ncl.ucar.edu/Applications/Scripts/mjoclivar_16.ncl).
> The default script is plotting vector figure and the total day on each
> phase.
> How i see/print what date and what phase that happening?
> I also include my file
> olr anomaly:
> https://drive.google.com/open?id=1lgzfmmadfmXUWkUT1n8DAsTbvp0oQ-Fc
>
> uwnd 850 anomaly
> https://drive.google.com/open?id=1PKpTYxGT5VAE6F5ydu0j89VHlRN7gC9p
>
> vwnd 850 anomaly
> https://drive.google.com/open?id=1dHLN40qMCihCeTdBuX48tgJfRlW9HCZC
>
> mjo pc index (got by running mjo clivar_14):
> https://drive.google.com/open?id=1pr6wTdRXE0AWaPbh-Q8wWHca8NZLTLQw
>
> Regards,
> Reza
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200110/4915d97b/attachment.html>


More information about the ncl-talk mailing list