I have code that copies a band over to another file. It's not quite what we want because the image doesn't appear which means that there is something I fundamentally don't understand about gdal. The band copy code works and is confirmed to work. Also I fixed up some stuff like exiting if we can't read files properly