Changeset 913
- Timestamp:
- Jun 20, 2015, 2:47:04 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/struct2nc.m
r908 r913 56 56 end 57 57 ListVarName=Data.ListVarName; 58 nc=netcdf.create(flname,'NC_CLOBBER');%,'clobber'); %create the netcdf file with name flname 58 %nc=netcdf.create(flname,'NC_CLOBBER');%,'clobber'); %create the netcdf file with name flname 59 cmode = netcdf.getConstant('NETCDF4'); 60 cmode = bitor(cmode, netcdf.getConstant('CLASSIC_MODEL')); 61 cmode = bitor(cmode, netcdf.getConstant('CLOBBER')); 62 nc = netcdf.create(flname, cmode) 63 59 64 %write global constants 60 65 if isfield(Data,'ListGlobalAttribute')
Note: See TracChangeset
for help on using the changeset viewer.