# Ucm KeyError "nan"

**URL:** <https://community.naturalcapitalalliance.org/t/ucm-keyerror-nan/2146>\
**Category:** Software Support\
**Tags:** urban-cooling\
**Created:** [August 30, 2021, 8:31pm UTC](https://community.naturalcapitalalliance.org/t/ucm-keyerror-nan/2146 "2021-08-30T20:31:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [August 30, 2021, 10:14pm UTC](https://community.naturalcapitalalliance.org/t/ucm-keyerror-nan/2146/2 "2021-08-30T22:14:15Z")

</div>

Hi @carson , is it possible there are pixel values in the raster with no actual value - not even the nodata value? I’m not sure how this would appear in GIS, but maybe as `NULL` or `NaN`.

Here are some related topics:

> [@Carbon Model - Carbon Model - KeyError Encountered: nan](https://community.naturalcapitalalliance.org/t/carbon-model-carbon-model-keyerror-encountered-nan/891):
>
> Hello everyone, I utilized a LULC map with 500m resolution for running the carbon model and everything worked fine. Now that I’ve improved the resolution to 100m I receive this error: Carbon Model - KeyError Encountered: nan I used the same carbon pools. I attach here the log text file. Thank you so much for your support! Best, Marco

> [@SDR model KEY ERROR: nan](https://community.naturalcapitalalliance.org/t/sdr-model-key-error-nan/1370):
>
> Hello, while running the SDR model I get a key error “nan”. I am not sure why, seems “not an actual number” so I guess it deals with the LULC raster, but I think all classes are actual numbers…any idea? I attach the log. Thanks for your support[InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2020-09-29--18\_37\_48.txt|attachment] (142.7 KB) have a nice day, Luisa

If you can’t figure it out, please share your LULC raster and associated table and we can take a look.

---

_[View the full topic](https://community.naturalcapitalalliance.org/t/ucm-keyerror-nan/2146)._
