This forum is shutting down! Please post new discussions at

CBC: ValueError

vnavarro14vnavarro14 Member
edited March 2018 in General
I keep getting the following error message on the Coastal Blue Carbon Model. I'm not sure what it means. Help please. 

ValueError: base_raster_path_list, target_raster_path_list, and resample_method_list must be the same length current lengths are [2, 1, 1]
Post edited by vnavarro14 on


  • jdouglassjdouglass Administrator, NatCap Staff
    Hello, could you attach your logfile so we can take a look?
  • jdouglassjdouglass Administrator, NatCap Staff
    Awesome, thanks.

    Based on the logfile, it looks like you have a transition raster defined, but no transition year.  For every transition raster there must be a corresponding transition year.
  • Oh, I accidentally put the Transition Year as the Analysis Year. Thank you!

    Okay, I corrected that issue but now I'm getting a different error message.
  • jdouglassjdouglass Administrator, NatCap Staff
    I'm a little surprised that the model UI would let you run the model!  I'll correct some of the initial validation in a future InVEST release, but in the meantime, you'll need to make sure that the Carbon Pool Initial values table and the Transient Values table are provided as well.  I believe those are the only two remaining inputs that are not currently provided in your model run.
Sign In or Register to comment.