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.
inRBC.SaveAs("test.tif", pRWS, "TIFF")
inRBC.SaveAs(outRasName & ".tif", pRWS, "TIFF")