set writenetcdf back to True