adding variables for model, energy, and factor in loadResampleData()