netCDF to text converter written in python