This forum is shutting down! Please post new discussions at

Buffer has wrong number of dimensions

swolnyswolny Member, NatCap Staff
I'm running Annual Water Yield version 3.5.0, and get the following error that I've not seen before:

ValueError: Buffer has wrong number of dimensions (expected 1, got 3)

Full logfile attached. Any idea what's wrong? Thanks!

~ Stacie


  • jdouglassjdouglass Administrator, NatCap Staff
    Neat!  Offhand, I'm not exactly sure what's up, but could you send me your datastack so I can take a closer look?  Thanks, Stacie!

  • jdouglassjdouglass Administrator, NatCap Staff
    Thanks for reporting this, Stacie!  The error is caused by the `lulc_veg` column in the input biophysical table having an empty value for lucodes 71 and 90.  This is something that *should* be caught by validation, but isn't currently and will be fixed in a future version of InVEST.
  • swolnyswolny Member, NatCap Staff
    Thanks, James! And sorry, I should have double-checked the table for errors. Agreed that it will be great when input validation is back in InVEST, since many of the current error messages aren't intuitive as to their cause.

    ~ Stacie

This discussion has been closed.