<div dir="ltr"><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif">Dear  Grads Users,</div><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif"><br></div><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif">I&#39;ve been having such a hard time to work with diurnal/nocturnal cycles with CMORPH. I can&#39;t find a function to separate the data according to the hours. In my case,I need to first separete in seasonal periods and then average the diurnal cycle (9 - 21h) and the nocturnal cycle (21-9h), so I can analyze for 3 years (Note: the data has a time frequency of 30 min). Should I use the &quot;while&quot; expression on Grads, so I can make a loop? I have been trying to make a script to separate the months and then average the diurnal cycle, but I haven&#39;t succeeded yet.  Does anyone can help me with that? I&#39;d really appreciate any help.</div><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif"><br></div><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif">Thanks,</div><div class="gmail_default" style="font-size:13px;font-family:&#39;times new roman&#39;,serif">Michell </div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:small"><font face="times new roman, serif">Michell Fontenelle Germano</font></div><div style="font-size:small"><font face="times new roman, serif">Majoring in Atmospheric Sciences </font></div><div style="font-size:small"><font face="times new roman, serif">Federal University of Para<br></font></div><div style="font-size:small"><font face="times new roman, serif">Institute of Geosciences <br></font></div><div style="font-size:small"><font face="times new roman, serif">Address: Rua Augusto Corrêa, 1</font></div><div style="font-size:small"><font face="times new roman, serif">Belém, Pará, Brazil</font></div></div></div></div></div></div></div></div></div></div>
</div>