Are there any predictors of pyonephrosis in patients with renal calculus disease?

Are there any predictors of pyonephrosis in patients with renal calculus disease?