<div dir="ltr">Hi,<div><br></div><div>Using GFS data, there are 4 different precipitation category variables: </div><div>rain, freezing rain, ice, snow</div><div><br></div><div>Each of these variables has a boolean 0 or 1 value for each grid point. I'd like to combine these 4 variables into 1 variable, such that each grid point has a value of:</div><div>no precip = 0</div><div>rain = 1</div><div>freezing rain = 2</div><div>ice = 3</div><div>snow = 4</div><div><div><br></div><div>Is looping through all of the grid points in space and time, the approach that needs to be taken here? Or is there a more efficient NCL function approach that can be taken? </div><div><br></div><div>Thanks, </div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Micah Sklut<br><br></div></div></div>