close method
Closes the raster and releases resources.
Before closing a raster, remove any objects that reference it, such as a RasterLayer in a map or scene. After a raster is closed, it can no longer be used, and attempts to access it may result in an error.
After closing a raster, the underlying files it references can be deleted or moved.