An exploding urban population that led to taller and often poorly constructed buildings, along with an unusually hazardous combination of geological conditions, had for years prompted warnings from scientists that the Katmandu Valley of Nepal was a seismic time bomb waiting to go off.