Refactor common code and fix for PEP8 1.4.6.
Merge pull request #5 from rhattersley/netcdf_int_fix

Refactor common code and fix for PEP8 1.4.6.