<div dir="ltr"><span style="font-size:12.8px">Dear Team</span><div style="font-size:12.8px">I was trying to calculate year by year time series from monthly mean SST data by using following formula:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><img src="cid:ii_150cacc04df7cd67" alt="Inline image 1" width="292" height="56" class=""></div><div style="font-size:12.8px">Where, N3 and N4 denote Nino3 and Nino4 indices respectively. I would like to calculate NCT and NWP for a specific year, for instance, 1997 (January to December). My question is how can I define &quot;α<p class="MsoNormal"></p><div>value&quot; in GrADS so that it can use the value of 2/5 when N3*N4&gt;0 and 0 when <span style="font-size:12.8px">N3*N4&lt;0</span><span style="font-size:12.8px">  automatically? If anybody could help me, it would be great.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"> I was trying to use &quot;if, else&quot; and &quot;while&quot; function, but I can display single value. However, I need to display 12 values (Jan to feb).</span></div><div><span style="font-size:12.8px"><br></span></div><div><br></div><div>I look forward to your suggestions.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Md. Abdus Sattar<div>PhD Student</div><div>Department of Environmental Sciences</div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12px;line-height:15px">Level 2, Australian Hearing Hub Building</span><br style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Faculty of Science and Engineering<br>Macquarie University<br></span><span style="font-size:12.8px">NSW 2109 Australia</span><br></div><div><br></div><div><br></div><div>Cell: +61404400401</div><div>Email: <a href="mailto:md-abdus.sattar@students.mq.edu.au" target="_blank">md-abdus.sattar@students.mq.edu.au</a></div><div><br></div><div><b>AND</b></div><div><br></div><div><div style="font-size:12.8px">Assistant Professor</div><div style="font-size:12.8px">Department of Disaster Risk Management (DRM)</div></div><div><span style="background-color:rgb(243,243,243)">Faculty of Disaster Management</span></div><div>Patuakhali Science and Technology University, Dumki, Patuakhali, Bangladesh</div><div><br></div><div>Cell: +8801716851612</div><div>Email: <a href="mailto:abdus.sattar@pstu.ac.bd" target="_blank">abdus.sattar@pstu.ac.bd</a></div></div></div></div></div></div></div></div></div></div>
</div>