This forum is shutting down! Please post new discussions at

Scenario Generator: KeyError with new Transition Table

I am running the Scenario Generator based on Transition tables for different scenarios. The first scenario runs without problems, but all other scenarios return either KeyError: 2.0 or KeyError: 6.0
The only difference between the first scenario and the other 5 scenarios are the values within the Transition Table. The range of values within the different Transition Tables is similar and the landcover names are identical.
I'll attach the log for the latest run, but the other runs return the error message at the same step, i.e. right after: 
natcap.invest.scenario_generator.scenario_generator DEBUG    Increasing cover 3 by 34 pixels.
It is not always the same cover type which returns the error, but the first cover type the Scenario Generator has to change.


  • jdouglassjdouglass Administrator, NatCap Staff
    Hi @nadjasimons, it's not entirely clear from the log why this is crashing ... could you send your inputs to so I might take a look?
Sign In or Register to comment.