AnsweredAssumed Answered

Combine loses VAT and then unable to join...why?

Question asked by astratton@fs.fed.us on May 3, 2019
Latest reply on May 4, 2019 by curtvprice

I am working on creating a python toolbox that uses a combine and then uses the combine VAT to join fields from other grid data. The scripting was built upon a previously existing tool that used the legacy coding for combine, arcpy.gp.Combine_sa.

If using the legacy coding, the tool operates correctly, the combine is performed, and then several join fields are run, the joined raster is saved, and then new fields are added and calculated based on the join fields. 

 

However, if I replace the legacy combine coding with the current combine code and then save with combine.save(save_location) like this:

I get the vexing error that the VAT_combine is not available. If I then build the attribute table, the combine field is there but the original value fields are not there (those fields are needed for the join field operation) 

The python toolbox is attached. The Combine coding begins at line 318. Thank you in advance for any suggestions or comments.

Outcomes