Why do some species of squamates have keeled scales while related species have smooth or granular scales? I have previously been told previously that keeled scales in small lizards and snakes are an adaptation to mesic environments but I can't find a reference or study supporting this contention. In some groups (Sceloporus?) keeled scales seem to be associated with xeric environments and water retention. In other groups, such as vipers, keeled scales are a characteristic of the group, across environments (but perhaps there is environment associated variation in keeling - such as in Echis). In other groups again keels may be an adaptation to climbing vegetation perhaps unrelated to rainfall. I'm particularly interested in the evolution of keeled scales in high rainfall forested environments. Does anyone know of research into the general phenomenon.