fixed bugs on restricting only g fits I/O
Merge branch 'master' of https://github.com/ProfessorBrunner/rc3-sdss