PROBLEM
After using a SaveAs method, the output rasters are not recognized in ArcCatalog or ArcMap, even after completing a refresh on the folder that contains the files. The files may even appear as XML documents in ArcCatalog.
The SaveAs method does not apply the correct file extension to the output raster dataset.
Code:
inRBC.SaveAs("test.tif", pRWS, "TIFF")
Code:
inRBC.SaveAs(outRasName & ".tif", pRWS, "TIFF")
Get help from ArcGIS experts
Download the Esri Support App