# Some Questions about carbon storage model \[0\] no data

**URL:** <https://community.naturalcapitalalliance.org/t/some-questions-about-carbon-storage-model-0-no-data/5438>\
**Category:** Software Support\
**Created:** [September 11, 2024, 10:49am UTC](https://community.naturalcapitalalliance.org/t/some-questions-about-carbon-storage-model-0-no-data/5438 "2024-09-11T10:49:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mimi310604](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mimi310604](https://community.naturalcapitalalliance.org/u/mimi310604)\
**Post date:** [September 11, 2024, 10:49am UTC](https://community.naturalcapitalalliance.org/t/some-questions-about-carbon-storage-model-0-no-data/5438/1 "2024-09-11T10:49:00Z")

</div>

#### What is the issue or question you have?

#### What do you expect to happen?

#### What have you tried so far?

### Upload the logfile using the 📤 button

Hello everybody. I need your help…  
please answer about my error code… Thx

09/11/2024 19:30:42 natcap.invest.utils Level 100 Writing log messages to [C:\Users\COM\Desktop\InVEST-natcap.invest.carbon-log-2024-09-11–19\_30\_42.txt]  
09/11/2024 19:30:42 **main** Level 100 Starting model with parameters:  
Arguments for InVEST natcap.invest.carbon 3.14.2:  
calc\_sequestration False  
carbon\_pools\_path C:\Users\COM\Desktop\�ż�ź��.csv  
discount\_rate  
do\_redd False  
do\_valuation False  
lulc\_cur\_path G:\���п�\�Ѱ�����û\gis �ڷ�\�ż�1.tif  
lulc\_cur\_year  
lulc\_fut\_path  
lulc\_fut\_year  
lulc\_redd\_path  
n\_workers -1  
price\_per\_metric\_ton\_of\_c  
rate\_change  
results\_suffix 0  
workspace\_dir C:\Users\COM\Desktop

09/11/2024 19:30:42 natcap.invest.carbon INFO Building file registry  
09/11/2024 19:30:42 py.warnings WARNING osgeo\gdal.py:312: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.

09/11/2024 19:30:42 natcap.invest.carbon INFO Map all carbon pools to carbon storage rasters.  
09/11/2024 19:30:42 natcap.invest.carbon INFO Mapping carbon from ‘lulc\_cur\_path’ to ‘c\_above\_cur’ scenario.  
09/11/2024 19:30:42 pygeoprocessing.geoprocessing INFO starting stats\_worker  
09/11/2024 19:30:42 pygeoprocessing.geoprocessing INFO started stats\_worker \<Thread(Thread-1 (stats\_worker), started daemon 19452)\>  
09/11/2024 19:30:42 pygeoprocessing.geoprocessing ERROR exception encountered in raster\_calculator  
Traceback (most recent call last):  
File “pygeoprocessing\geoprocessing.py”, line 495, in raster\_calculator  
File “pygeoprocessing\geoprocessing.py”, line 2409, in \_map\_dataset\_to\_value\_op  
pygeoprocessing.geoprocessing.ReclassificationMissingValuesError: The following 1 raster values [0] from “G:\���п�\�Ѱ�����û\gis �ڷ�\�ż�1.tif” do not have corresponding entries in the value map: {111: 0.0, 112: 0.0, 121: 0.0, 131: 0.0, 141: 0.0, 152: 0.0, 153: 0.0, 154: 0.0, 155: 0.0, 161: 0.0, 162: 0.0, 163: 0.0, 211: 0.0, 212: 0.0, 221: 0.0, 222: 0.0, 231: 0.0, 241: 0.0, 251: 0.0, 252: 0.0, 311: 0.006431, 321: 0.004287, 331: 0.005359, 411: 0.000417, 421: 0.00011499999999999999, 422: 0.00011499999999999999, 423: 0.00011499999999999999, 511: 0.0035240000000000002, 612: 0.0, 613: 0.0, 622: 0.0, 623: 0.0, 711: 0.0, 712: 0.0}.  
09/11/2024 19:30:43 pygeoprocessing.geoprocessing INFO Waiting for raster stats worker result.  
09/11/2024 19:30:43 pygeoprocessing.geoprocessing\_core WARNING No valid pixels were received, sending None.  
09/11/2024 19:30:43 taskgraph.Task ERROR Something went wrong when adding task carbon\_map\_c\_above\_cur (0), terminating taskgraph.  
Traceback (most recent call last):  
File “natcap\invest\utils.py”, line 732, in reclassify\_raster  
File “pygeoprocessing\geoprocessing.py”, line 2416, in reclassify\_raster  
File “pygeoprocessing\geoprocessing.py”, line 495, in raster\_calculator  
File “pygeoprocessing\geoprocessing.py”, line 2409, in \_map\_dataset\_to\_value\_op  
pygeoprocessing.geoprocessing.ReclassificationMissingValuesError: The following 1 raster values [0] from “G:\���п�\�Ѱ�����û\gis �ڷ�\�ż�1.tif” do not have corresponding entries in the value map: {111: 0.0, 112: 0.0, 121: 0.0, 131: 0.0, 141: 0.0, 152: 0.0, 153: 0.0, 154: 0.0, 155: 0.0, 161: 0.0, 162: 0.0, 163: 0.0, 211: 0.0, 212: 0.0, 221: 0.0, 222: 0.0, 231: 0.0, 241: 0.0, 251: 0.0, 252: 0.0, 311: 0.006431, 321: 0.004287, 331: 0.005359, 411: 0.000417, 421: 0.00011499999999999999, 422: 0.00011499999999999999, 423: 0.00011499999999999999, 511: 0.0035240000000000002, 612: 0.0, 613: 0.0, 622: 0.0, 623: 0.0, 711: 0.0, 712: 0.0}.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “taskgraph\Task.py”, line 674, in add\_task  
File “taskgraph\Task.py”, line 1093, in \_call  
File “natcap\invest\carbon.py”, line 560, in \_generate\_carbon\_map  
File “natcap\invest\utils.py”, line 742, in reclassify\_raster  
ValueError: Values in the LULC raster were found that are not represented under the ‘lucode’ column of the Carbon Pools table. The missing values found in the LULC raster but not the table are: [0].  
09/11/2024 19:30:43 natcap.invest.utils ERROR Exception while executing natcap.invest.carbon  
Traceback (most recent call last):  
File “natcap\invest\utils.py”, line 732, in reclassify\_raster  
File “pygeoprocessing\geoprocessing.py”, line 2416, in reclassify\_raster  
File “pygeoprocessing\geoprocessing.py”, line 495, in raster\_calculator  
File “pygeoprocessing\geoprocessing.py”, line 2409, in \_map\_dataset\_to\_value\_op  
pygeoprocessing.geoprocessing.ReclassificationMissingValuesError: The following 1 raster values [0] from “G:\���п�\�Ѱ�����û\gis �ڷ�\�ż�1.tif” do not have corresponding entries in the value map: {111: 0.0, 112: 0.0, 121: 0.0, 131: 0.0, 141: 0.0, 152: 0.0, 153: 0.0, 154: 0.0, 155: 0.0, 161: 0.0, 162: 0.0, 163: 0.0, 211: 0.0, 212: 0.0, 221: 0.0, 222: 0.0, 231: 0.0, 241: 0.0, 251: 0.0, 252: 0.0, 311: 0.006431, 321: 0.004287, 331: 0.005359, 411: 0.000417, 421: 0.00011499999999999999, 422: 0.00011499999999999999, 423: 0.00011499999999999999, 511: 0.0035240000000000002, 612: 0.0, 613: 0.0, 622: 0.0, 623: 0.0, 711: 0.0, 712: 0.0}.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “natcap\invest\utils.py”, line 165, in prepare\_workspace  
File “invest\cli.py”, line 470, in main  
File “natcap\invest\carbon.py”, line 421, in execute  
File “taskgraph\Task.py”, line 674, in add\_task  
File “taskgraph\Task.py”, line 1093, in \_call  
File “natcap\invest\carbon.py”, line 560, in \_generate\_carbon\_map  
File “natcap\invest\utils.py”, line 742, in reclassify\_raster  
ValueError: Values in the LULC raster were found that are not represented under the ‘lucode’ column of the Carbon Pools table. The missing values found in the LULC raster but not the table are: [0].  
09/11/2024 19:30:43 natcap.invest.utils INFO Elapsed time: 0.97s  
09/11/2024 19:30:43 natcap.invest.utils INFO Execution finished; version: 3.14.2

---

<div class="post-metadata">

**Author:** ![swolny](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/swolny/32/181_2.png) [@swolny](https://community.naturalcapitalalliance.org/u/swolny)\
**Post date:** [September 11, 2024, 11:54am UTC](https://community.naturalcapitalalliance.org/t/some-questions-about-carbon-storage-model-0-no-data/5438/2 "2024-09-11T11:54:54Z")

</div>

Hello @mimi310604 -

This error has been asked about many times before on this forum. Please use the Search function and look for part of the error message, such as “do not have corresponding entries in the value map” or “ReclassificationMissingValuesError” and see if any of those posts help solve the problem.

~ Stacie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/8/8d95591aa074da87ea0fdd61ca47c1c3c0588aa7.png) [@system](https://community.naturalcapitalalliance.org/u/system)\
**Post date:** [December 10, 2024, 11:55am UTC](https://community.naturalcapitalalliance.org/t/some-questions-about-carbon-storage-model-0-no-data/5438/3 "2024-12-10T11:55:03Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
