Castle in the Desert is a 1942 film featuring the Asian detective Charlie Chan. It was the eleventh film to feature Sidney Toler as the title character, and the last made by 20th Century Fox. The series continued with Toler, though under much reduced circumstances, at Monogram Pictures.
The location is loosely based on Scottys Castle, a Spanish Revival style villa built by a Chicago millionaire as a vacation home in Death Valley.
Source: Wikipedia