Commit 59d46712 authored by Pierre Cazenave's avatar Pierre Cazenave

Generate the history attribute string dynamically.

parent d006442c
......@@ -57,7 +57,7 @@ end;
nc = netcdf.create(filename,'clobber');
netcdf.putAtt(nc,netcdf.getConstant('NC_GLOBAL'),'history', 'File created using write_FVCOM_TT.m from the MATLAB fvcom-toolbox')
netcdf.putAtt(nc,netcdf.getConstant('NC_GLOBAL'),'history', sprintf('File created with %s from the MATLAB fvcom-toolbox', subname))
% dimensions
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment