/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_global.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/matlab_class/gcmfaces_global.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by gforget, Fri Mar 20 14:09:49 2015 UTC revision 1.5 by gforget, Fri Mar 20 14:32:54 2015 UTC
# Line 75  if isempty(myenv); Line 75  if isempty(myenv);
75      myenv.lessplot=0;      myenv.lessplot=0;
76      myenv.lesstest=0;      myenv.lesstest=0;
77      myenv.useNativeMatlabNetcdf = ~isempty(which('netcdf.open'));      myenv.useNativeMatlabNetcdf = ~isempty(which('netcdf.open'));
78        myenv.issueWarnings=1;
79      %... check m_map and netcdf      %... check m_map and netcdf
80  end;  end;
81    
# Line 100  end; Line 101  end;
101    
102  %issue warning if mygrid is empty:  %issue warning if mygrid is empty:
103  test0=isfield(mygrid,'XC');  test0=isfield(mygrid,'XC');
104  if ~test0;  if ~test0&myenv.issueWarnings;
105      warning('mygrid has not yet been loaded to memory. To use gcmfaces please use grid_load.m first.');      warning('mygrid has not yet been loaded to memory. To use gcmfaces please use grid_load.m first.');
106  end;  end;
107    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22