netcdf.putAtt(nc,netcdf.getConstant('NC_GLOBAL'),'history',['File created on ',datestr(now,'yyyy-mm-dd HH:MM:SS'),' with write_FVCOM_forcing.m from the fvcom-toolbox (https://github.com/pwcazenave/fvcom-toolbox)'])
netcdf.putAtt(nc,netcdf.getConstant('NC_GLOBAL'),'history',['File created on ',datestr(now,'yyyy-mm-dd HH:MM:SS'),' with write_FVCOM_forcing.m from the MATLAB fvcom-toolbox (https://github.com/pwcazenave/fvcom-toolbox)'])