expand to allow doy 366
quell some pylint warnings and numpy1.9 warnings
pylint cleanup
lib.inc is no more