Water production volume contains `nan`

InVEST-natcap.invest.annual_water_yield-log-2024-01-31–21_30_30.txt (18.4 KB)

Hi @zj202021009 , if you have nan values in the results, it is most likely because there are nan values in one of the input rasters. Please see some other discussions on this topic, for example,

Thank you,

Example.zip (3.2 MB)
CLCD.zip (3.8 MB)

Hi @zj202021009 , I know this is a tricky problem to solve. I have confirmed that two of the rasters that you shared contain pixels with nan values, and those are likely the cause of the nan values in the water production results. The two files are:

3741 pixels with nan

3741 pixels with nan

If you can reclassify those pixels to something else, such as the NoData value of the raster, then I expect that will solve the problem.



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