[ncl-talk] mashing together multiple precip category variables into 1 variable
Micah Sklut
micahs2005 at gmail.com
Sat Apr 4 08:52:54 MDT 2020
Hi,
Using GFS data, there are 4 different precipitation category variables:
rain, freezing rain, ice, snow
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:
no precip = 0
rain = 1
freezing rain = 2
ice = 3
snow = 4
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?
Thanks,
--
Micah Sklut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200404/834fb48f/attachment.html>
More information about the ncl-talk
mailing list