updated class NetCDF in io.py