add netCDF
changed some code for old code for precipitation