I am using USEPA Intelligent Dasymetric Toolbox for ArcGIS Pro downloaded here (GitHub - USEPA/Dasymetric-Toolbox-ArcGISPro) but failed. Please help!
Software: ArcGIS Pro 3.3.1 (with 3d analysis /Spatial analyst extensions enabled)
Data: their "Example data" from the same link
Error message (complete Message is attached):
Traceback (most recent call last):
File "<string>", line 689, in execute
RuntimeError: The Field type is invalid or unsupported for the operation. [POP_EST]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
Solved! Go to Solution.
Hi, I think I tried the approach given by Robert_LeClair before posting the question but it didn't work.
However, I already contacted the USEPA team. They were able to respond immediately as follows:
"It appears the NumPyArrayToTable function was failing due to an inconsistency between ArcGIS tables and NumPy/Pandas data types. This was likely introduced in the latest versions of ArcGIS and NumPy/Pandas in Ver. 3.3. I have put in a fix to make sure the Pandas data frames have the correct datatypes for conversion to ArcGIS tables. You should be able to download the latest version from GitHub now."
Hence, I downloaded the tool/data and it works fine now.
Thank you all for checking on this.
I'm not seeing a lot about this error on the "internals" but there is a Support Case where the user was using a shapefile for the input and the tool failed with similar error messages. They converted it from a shapefile to a file geodatabase feature class and the tool ran fine. You could test this idea by converting from a shapefile format to a fGDB feature class and rerun the tool. Does it error out?
Hi, I think I tried the approach given by Robert_LeClair before posting the question but it didn't work.
However, I already contacted the USEPA team. They were able to respond immediately as follows:
"It appears the NumPyArrayToTable function was failing due to an inconsistency between ArcGIS tables and NumPy/Pandas data types. This was likely introduced in the latest versions of ArcGIS and NumPy/Pandas in Ver. 3.3. I have put in a fix to make sure the Pandas data frames have the correct datatypes for conversion to ArcGIS tables. You should be able to download the latest version from GitHub now."
Hence, I downloaded the tool/data and it works fine now.
Thank you all for checking on this.