Changeset 913 for trunk/src


Ignore:
Timestamp:
Jun 20, 2015, 2:47:04 PM (9 years ago)
Author:
sommeria
Message:

netcdf4 introduced, turb_correlation added

Location:
trunk/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/struct2nc.m

    r908 r913  
    5656end
    5757ListVarName=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
     59cmode = netcdf.getConstant('NETCDF4');
     60cmode = bitor(cmode, netcdf.getConstant('CLASSIC_MODEL'));
     61cmode = bitor(cmode, netcdf.getConstant('CLOBBER'));
     62nc = netcdf.create(flname, cmode)
     63
    5964%write global constants
    6065if isfield(Data,'ListGlobalAttribute')
Note: See TracChangeset for help on using the changeset viewer.