public void setMetricValues(float updatedGlblTempVal, float updatedOceanTempVal, float updatedSeaLvlVal, float updatedIceSheetVal, float updatedCo2Val,
                             float glblTempValDelta, float oceanTempValDelta, float seaLvlValDelta, float iceSheetValDelta, float co2ValDelta,
                             int year, int season)
 {
     //print("Set Metrics to: " + updatedGlblTempVal + " " + updatedOceanTempVal + " " + updatedSeaLvlVal + " " + updatedIceSheetVal + " " + updatedCo2Val);
     //print("Set Deltas to: " + glblTempValDelta + " " + oceanTempValDelta + " " + seaLvlValDelta + " " + iceSheetValDelta + " " + co2ValDelta);
     //print("Set Date to: " + year + " " + season);
     ClimateMetricSerializer.updateXml(updatedGlblTempVal, updatedOceanTempVal, updatedSeaLvlVal, updatedIceSheetVal, updatedCo2Val,
                                       glblTempValDelta, oceanTempValDelta, seaLvlValDelta, iceSheetValDelta, co2ValDelta,
                                       year, season);
     updateGui();
 }
 // Start is called before the first frame update
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
         return;
     }
     if (!Directory.Exists(Application.persistentDataPath + "/Resources"))
     {
         Directory.CreateDirectory(Application.persistentDataPath + "/Resources");
     }
     if (!File.Exists(Application.persistentDataPath + path))
     {
         initializeXml();
     }
 }