Blue Carbon runtime error

Hello,
I am getting a runtime error when I attempt to run the Blue Carbon model and can not figure out what exactly the issue is. The error is:
\output\intermediate\2002_2025_veg_2_dis_bio.tif, band 1: Failed to compute statistics, no valid pixels found in sampling
The error occurrs after the model begins "Processing vegetation type 2". The area that I am covering is entirely salt marsh so there is no type 2 vegetation represented, I don't know if that is part of the issue or not. Any help would be greatly appreciated, I have hit the wall with this. Also, I ran the same set of parameters in both 3.0.1 and 3.1.0 and got the error with both models.
I am getting a runtime error when I attempt to run the Blue Carbon model and can not figure out what exactly the issue is. The error is:
\output\intermediate\2002_2025_veg_2_dis_bio.tif, band 1: Failed to compute statistics, no valid pixels found in sampling
The error occurrs after the model begins "Processing vegetation type 2". The area that I am covering is entirely salt marsh so there is no type 2 vegetation represented, I don't know if that is part of the issue or not. Any help would be greatly appreciated, I have hit the wall with this. Also, I ran the same set of parameters in both 3.0.1 and 3.1.0 and got the error with both models.
Comments
Hi Doug,
I have attached two different logs. The first is the original issue I was commenting on, the other is another error that I am now getting regularly when I try different rasters. The KeyError: '' run time error is one that I have gotten on two different computers in both 3.0.1 and 3.1.0. I am using all of the original .csv files save for the transition matrix and some changed values in the carbon table, so it seems like the issue may be arising either from the rasters or the model itself? Thanks for looking into this for me, I appreciate it.
Best,
Amelia
Ok, thanks for taking a look. I can get my data to you either via Google Drive or Dropbox, is there an email I can send the link to?
Also, do you have any tips on things to check for in the transition matrix that might be causing the KeyError?
Hi Will,
I did modify the Disturbance entries to "Medium Disturbance", but your comment got me thinking. I realized that as I did different model runs, I did not consistently clear the cells that direct you to make those changes to Disturbance (below the transition matrix itself). Once I deleted the contents of those cells, the model ran (up to the point of the "Failed to compute statistics" error, that is still an issue). So one issue down, one to go! I have emailed you a link to the Google Drive folder with my data, please let me know if it does not come through or if there is something missing. I appreciate you taking the time to look into this for me, thanks again!
Best,
Amelia
Hi Will,
Unfortunately, I am still getting the same error, even when I use the transition matrix that you guys provided. Were you able to get the model to run successfully on your end with that .csv? Thanks for the help!
Best,
Amelia
Well, it looked like it was going to work...the model did not hang up in the beginning like it had before, but unfortunately there are still issues. It ran almost to the end but ended up exiting for a new error "NameError: global name 'carbon_conversion' is not defined". I have attached the error log. Also, since the model did get almost to the end, it looked like the output rasters had populated. However, when I imported them into ArcGIS, they did not actually have any data in them. All of the pixels have a value of 0. In the Google Drive folder that I shared with you, you can find the output for this run in the folder "Dev Run".