Split the determination of the precip code
Split the determination of the precip code

Using two separate 'ifelse' blocks: the first to
determine whether light, moderate, or heavy precip
occurred during time period, the second to modify
precip code for snow (simply adding 18).

rich-iannone/PuffR