<div dir="ltr"><br clear="all"><div>Dear All,<div>           I have a gridded data of population globally from 1950 to 2005. I wanted to do as follows.</div><div>1) Convert the grid into three different types.<br></div><div>ie </div><div><div>Type 1 grid>>> Display those grids if greater than value 10000 in the year 1950 and greater than value 10000 in the year 2015..</div><div>Type 2 grid  Display those grids if value less than 10000 in the year 1950 and greater than 10000 in the year 2015...</div><div>Type 3 grid Display those grids if less than value 10000 in the year 1950 and less than value 10000 in 2015</div></div><div>Any thoughts in grads will be appreciated....Can we do this using maskout function, constant function and if else statement ?. I am unable to do it in grads. Trying to do in mathlab...</div><div>Jayakrishnan </div><div><br class="gmail-Apple-interchange-newline"></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px">Sincerely</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">**************************************************</div><div style="font-size:12.8px">Dr. Jayakrishnan P.R</div><div style="font-size:12.8px">Post Doctoral Research Fellow</div><div style="font-size:12.8px"><div style="font-size:12.8px"><span style="font-size:12.8px">Science Technology Building</span><br></div><div style="font-size:12.8px">School of System Science</div><div style="font-size:12.8px">Beijing Normal University</div><div style="font-size:12.8px">No. 96 XInjiekouwai Street</div><div style="font-size:12.8px">Beijing 100875</div><div style="font-size:12.8px">China</div></div><div style="font-size:12.8px"><span style="font-size:12.8px">Tel: +86-188 11005715</span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px">****************************************************</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="color:rgb(7,55,99)"><font size="1"><br></font></span></div><div style="font-size:12.8px"><span style="color:rgb(7,55,99)"><font size="1"><br></font></span></div><div style="font-size:12.8px"><br></div></div></div></div></div></div></div>