Dear all, I am going crazy combining const/maskout to get what I need. I need to set A according the following: A= 0 when T850-T500 >25 A= 2 when T850-T500 22-25 A= 6 when T850-T500 <22 Would like to ask any master of const/maskout for help. Thank you very much in advance. Marian