Gustav is expected to produce up to 38 centimeters of rain in some areas , possibly causing dangerous flash floods and mudslides .