cpmodel / FTT_StandAlone

Future Technology Transformation models
GNU General Public License v3.0
10 stars 1 forks source link

Gamma value frontend errors #108

Open Femkemilene opened 8 months ago

Femkemilene commented 8 months ago
          @pv-camecon, we are having some trouble calibrating the Gamma values for the FTT-P update through the frontend. The issue seems to be that there is not Output/Gamma.pickle file which the front end is trying to load in line 974 of FTT_backend.py. Could this be down to the fact that gamma output is also not being saved like the main ouput?

_Originally posted by @ldxib2 in https://github.com/cpmodel/FTT_StandAlone/issues/81#issuecomment-2018244196_

I tried determining gamma values using the REFEREE version on the SVN, and got a different error (it struggles with JSON files). I do remember this working, so will ask around what model version this worked.

Femkemilene commented 8 months ago

Cormac indicated it's just fickle and by pushing run_ftt multiple times, it does not produce errors anymore. The error produced is: image

When the gamma.pickle file is created and you restart the gamma tab in the front end, it does immediately work.

pv-camecon commented 8 months ago

Yes, the front-end will try to search for the Gamma.pickle file. Is this simply a matter a making sure that (for now) this pickle file is committed to the master branch?

Femkemilene commented 7 months ago

The gamma.pickle file is over 100 MB. We can technically add it, but it will make the repo much bigger. Do we know why it is required for the front-end?