<div dir="auto">Thank you so much, sir. I am using NCL 6.6.2 on Windows 10. I could not load the “crop.ncl” file. Could I have this file? </div><div dir="auto"><br></div><div dir="auto">I am sorry for the inconvenience caused. </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">১১:২৩ PM এ বুধ, ৮ জুন, ২০২২ এ Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> লিখেছেন:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Oops. My bad!  I did not document the function.<br></div><div><h2 id="m_7317346573878052016gmail-:2uv"><font size="2">getMidMonDay <span style="font-weight:normal">is a utility function contained within the </span>'crop' library</font></h2><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/crop.ncl"</div><div>====</div><div>The code is 'simple'</div><div><br></div><div>undef("getMidMonDay")<br>function getMidMonDay(time:numeric)<br>;<br>; utility function<br>; The input 'time' (seconds/hours/days since ...") has the middle of the month<br>; This returns the (*approximate*) 'middle day' of the current month as an integer<br>; "Approximate" because day 15 is used for all months ... <br>;      rather than 14 (Feb), 14.5 (Leap year Feb) or 15.5 (31 day months).<br>; This is more than adequate.<br><br>local date, yyyy, mm, dd, jday<br>begin<br>    date = cd_calendar(time, 0)<br>    yyyy = toint(date(:,0))<br>    mm   = toint(date(:,1))<br><br>    dd   = conform(mm, 15, -1)    ; approx mid month        <br><br>    jday = day_of_year(yyyy, mm, dd)<br><br>    copy_VarCoords(time, jday)<br>    jday@long_name = "mid-month day of current year"<br>    return(jday)<br>end</div></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 8, 2022 at 3:43 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></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div><div class="gmail_quote"><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>The fao56_1.ncl (<a href="https://www.ncl.ucar.edu/Applications/Scripts/fao56_1.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/fao56_1.ncl</a>) script used "getMidMonDay" function to get the middle day of the month, but it seems that this function is not exist. </div><div><br></div><div>How to get the middle day of the month to compute evapotranspiration? Is it similar to the "day_of_year" function (<a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/day_of_year.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/day_of_year.shtml</a>)?</div><div><br></div><div>Regards,</div><div>Jalal<br>-- <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"><b><span style="font-family:verdana,sans-serif"><font size="2" color="#000000"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4y9w0L7KQiSj70wjke0Jx0JgSNrqeF6iDtNgUuxe-VTveybMlL_piajK3bU_9yeMyhGJSEh32w" width="96" height="96"></font></span></b></div><div dir="ltr"><b><span style="font-family:verdana,sans-serif"><font size="2" color="#000000">Md. Jalal Uddin</font></span></b></div><div dir="ltr"><div><span style="font-family:verdana,sans-serif"><font size="2"><span style="background-color:rgb(255,255,255)">Founder and Director of Research Society </span></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)<span style="background-color:rgb(0,0,0)"><span></span></span></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">M.Sc. in Applied Meteorology (NUIST)</font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">B.Sc. in Disaster Management (PSTU)</font></span></div><div><span style="font-family:verdana,sans-serif"><font size="2">Email: </font></span><font face="verdana, sans-serif"><a href="mailto:founder-and-director@researchsociety20.org" target="_blank">founder-and-director@researchsociety20.org</a>, </font><a href="mailto:dmjalal90@nuist.edu.cn" style="font-family:verdana,sans-serif" target="_blank">20205103002@nuist.edu.cn</a></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">Website: </font></span><font face="verdana, sans-serif" color="#0000ee"><u><a href="https://researchsociety20.org/founder-and-director/" target="_blank">https://researchsociety20.org/founder-and-director/</a></u></font></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">ResearchGate profile: <a href="https://www.researchgate.net/profile/Md_Uddin125" target="_blank">https://www.researchgate.net/profile/Md_Uddin125</a>  <br></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">YouTube channel:</font></span><font face="verdana, sans-serif"><a href="https://www.youtube.com/jalalsdream" target="_blank">https://www.youtube.com/jalalsdream</a> </font><span style="font-family:verdana,sans-serif"><font size="2"><br></font></span></div></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></font></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></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<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><br>
</blockquote></div>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><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"><b><span style="font-family:verdana,sans-serif"><font size="2" color="#000000"><img width="96" height="96" src="https://ci3.googleusercontent.com/mail-sig/AIorK4y9w0L7KQiSj70wjke0Jx0JgSNrqeF6iDtNgUuxe-VTveybMlL_piajK3bU_9yeMyhGJSEh32w"></font></span></b></div><div dir="ltr"><b><span style="font-family:verdana,sans-serif"><font size="2" color="#000000">Md. Jalal Uddin</font></span></b></div><div dir="ltr"><div><span style="font-family:verdana,sans-serif"><font size="2"><span style="background-color:rgb(255,255,255)">Founder and Director of Research Society </span></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)<span style="background-color:rgb(0,0,0)"><span></span></span></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">M.Sc. in Applied Meteorology (NUIST)</font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">B.Sc. in Disaster Management (PSTU)</font></span></div><div><span style="font-family:verdana,sans-serif"><font size="2">Email: </font></span><font face="verdana, sans-serif"><a href="mailto:founder-and-director@researchsociety20.org" target="_blank">founder-and-director@researchsociety20.org</a>, </font><a href="mailto:dmjalal90@nuist.edu.cn" style="font-family:verdana,sans-serif" target="_blank">20205103002@nuist.edu.cn</a></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">Website: </font></span><font color="#0000ee" face="verdana, sans-serif"><u><a href="https://researchsociety20.org/founder-and-director/" target="_blank">https://researchsociety20.org/founder-and-director/</a></u></font></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">ResearchGate profile: <a href="https://www.researchgate.net/profile/Md_Uddin125" target="_blank">https://www.researchgate.net/profile/Md_Uddin125</a>  <br></font></span></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">YouTube channel:</font></span><font face="verdana, sans-serif"><a href="https://www.youtube.com/jalalsdream" target="_blank">https://www.youtube.com/jalalsdream</a> </font><span style="font-family:verdana,sans-serif"><font size="2"><br></font></span></div></div><div dir="ltr"><span style="font-family:verdana,sans-serif"><font size="2">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></font></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>