<div dir="ltr"><div>[0] The <b>climo_0.ncl</b> script is attached</div><div><br></div><div>[2] Gus: THX for answering</div><div><br></div><div>[3] Zilore:  (a) Please DO NOT put a new question under a previous ncl-talk question.</div><div>                 (b) Create a new 'thread' with a Subject<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 2, 2020 at 4:09 PM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.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">I wonder what happened to climo_0.ncl. The link on the page gives the message "

<span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">The requested URL was not found on this server." I would appreciate if anyone has a copy to share.</span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 10:48 AM Zilore Mumba <<a href="mailto:zmumba@gmail.com" target="_blank">zmumba@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">Thank you very much indeed for this very useful information.<div>I appreciate your time and effort.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 10:39 AM Gus Correa via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.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 dir="ltr"><div dir="ltr"><div>Your input file name suggests that it is daily data.</div><div>However, clmMonTLL expects an input file with monthly data,</div><div>and a time dimension (number of months) that is a multiple of 12:<br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/clmMonTLL.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/clmMonTLL.shtml</a></div><div><br></div><div>You can try first to calculate monthly values from the daily input using calculate_monthly_values:<br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/calculate_monthly_values.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/calculate_monthly_values.shtml</a></div><div>But you need to make sure that your input (daily data) has a time dimension with a recognized</div><div>calendar (I guess it would be gregorian).</div><div>A "ncdump -h " of your input file should tell.</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 3:19 AM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.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">I hope I can get assistance from Rick or Dennis or indeed anyone who can help. I am working with climate simulations using cordex data (20+ regional models). I have files of  the 30 year period (2021-2050), though I tried  

<span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13.3333px;background-color:rgb(255,231,198)"></span><a href="https://www.ncl.ucar.edu/Applications/Scripts/climo_0.ncl" style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;background:rgb(205,232,251) none repeat scroll 0% 0%;font-size:13.3333px" target="_blank">climo_0.ncl</a> with only one model simulation.<div>When I run the script, I get "<b>(0)        contributed.ncl: clmMonTLL: dimension must be a multiple of 12</b>"</div><div><br></div><div><b>The following are modifications I made to the original script:</b></div><div>  a    = addfile("../../Data/rcp45/precip/pr_AFR-44_NOAA-GFDL-GFDL-ESM2M_rcp45_r1i1p1_SMHI-RCA4_v1_day_20210101_20501231.nc","r")<br>  prc  = a->pr                                 ; (time,lat,lon)<br>  time = a->time                                ; (time) ==> YYMM<br>  ntim = dimsizes(time)<br><br>;---Read lat/lon arrays and attach as special "lat2d" / "lon2d" attributes<br>  lat2d    = a->rlat             ; (y,x)<br>  lon2d    = a->rlon             ; (y,x)<br><br>  prc&rlat@units = "degrees_north"<br>  prc&rlon@units = "degrees_east"<br><br>  months = (/"January", "February", "March", "April" \<br>            ,"May", "June", "July", "August"         \<br>            ,"September", "October", "November"      \<br>            ,"December" /)<br><br><br>  printVarSummary(prc)    ; note "coordinates" attribute<br>  printVarSummary(lat2d)<br>  printVarSummary(lon2d)<br>;*************************************************************</div><div><br></div><div><b>I also used (see last line below):</b></div><div></div><div><br></div><div>; Compute the climatology using a function in contributed.ncl<br>;************************************************<br>  prcClm = clmMonTLL (prc)            ; monthly climatology<br>  prcStd = stdMonTLL (prc)            ; monthly interannual variability<br>;************************************************<br><br>;To get the climatology for Jan 2021 through Dec 2030 for this dataset:<br>;prcClm = clmMonTLL (prc(12:131,:,:)), using conventional subscripts.<br>prcClm = clmMonTLL (prc({202101:203012},:,:)) ;using coordinate subscripting.<br>;*******************************************************************************<br></div><div><br></div><div>I will appreciate any help.</div><div>Zilore</div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 31, 2020 at 2:50 AM Md. Jalal Uddin via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.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">Hi all,<div><br></div><div>Why am I not getting the contour colour in the map in ncl 6.6.2?<br clear="all"><div><br></div><div>Any suggestions would be appreciated?</div><div><br></div><div>Best wishes,</div><div>Jalal</div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2" color="#000000"><b>Md. Jalal Uddin</b></font></div><div dir="ltr"><div>Founder and Director of Research Society (<a href="https://researchsociety20.org/founder-and-director/" target="_blank">https://researchsociety20.org/founder-and-director/</a>)</div><div dir="ltr">PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)</div><div dir="ltr">M.Sc. in Applied Meteorology (NUIST)</div><div dir="ltr">B.Sc. in Disaster Management (PSTU)</div><div>Email: <a href="mailto:dmjalal90@nuist.edu.cn" target="_blank">dmjalal90@nuist.edu.cn</a></div><div dir="ltr">Personal website: <a href="https://dmjalal90.weebly.com/" target="_blank">https://dmjalal90.weebly.com/</a></div><div dir="ltr">Research gate profile: <a href="https://www.researchgate.net/profile/Md_Uddin125" target="_blank">https://www.researchgate.net/profile/Md_Uddin125</a>  <br></div><div dir="ltr">YouTube channel: <a href="http://www.youtube.com/c/MdJalalUddindmjalal90" target="_blank">http://www.youtube.com/c/MdJalalUddindmjalal90</a> <br></div></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>