NetCDF output was not working with module-wheel4 because of missing initialization of all NcVar variables.