laptop and a wrench

Bug

arcpy.gp.Lookup_sa and arcpy.gp.Lookup_3D output bad results when running from a stand-alone script on a file geodatabase raster dataset with a string or short as the input field in ArcMap 10.6.

Last Published: August 13, 2018 ArcGIS for Desktop
Bug ID Number BUG-000113492
SubmittedApril 25, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.6
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusDuplicate

Additional Information

Duplicate of BUG-000113470: This issue is not reproducible in 10.6.1 : when running the tool script with string/short field as the Lookup Field, the output raster in grid format is empty. For other output formats (tif, fgdb), the issue of empty output is reproducible, which is essentially the same as BUG-000113470.

Workaround

1. Convert the short fields to long using the Field Calculator. Run Lookup on the Long fields.2. Adjust scripts to run in Python 3.6 using arcpy.ddd.Lookup_3D.

Steps to Reproduce

Bug ID: BUG-000113492

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options