It doesn't matter, whether the character has ever been in a desert. A knowledge check might be impossible, if now one the character learned from, either directly or through books, has ever been in the desert. Even then a knowledgeable character might make an educated guess, and at least...