change_nc.py: completed writing to new nc file
Added the int(float()) trick