/[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.7 by gforget, Wed Apr 8 19:43:45 2015 UTC revision 1.9 by gforget, Sun Jan 24 13:28:52 2016 UTC
# Line 103  end; Line 103  end;
103  test0=~isfield(mygrid,'XC');  test0=~isfield(mygrid,'XC');
104  [ST,I]=dbstack; ST={ST(:).name}';  [ST,I]=dbstack; ST={ST(:).name}';
105  test1=1;  test1=1;
106  list1={'grid_load','startup','plot_one_field','plot_std_field',...  list1={'grid_load','startup','example_display','example_IO',...
107      'example_remap','example_griddata','example_interp','example_faces2latlon2faces',...      'example_remap','example_griddata','example_interp','example_faces2latlon2faces',...
108      'example_bin_average','example_transports','example_budget',...      'example_bin_average','example_transports','example_budget',...
109      'profiles_process_init','gcmfaces_init'};      'profiles_process_init','gcmfaces_init'};
# Line 111  for jj=1:length(list1); Line 111  for jj=1:length(list1);
111      test1=test1&isempty(find(strcmp(ST,list1{jj})));      test1=test1&isempty(find(strcmp(ST,list1{jj})));
112  end;  end;
113  if test0&test1&myenv.issueWarnings;  if test0&test1&myenv.issueWarnings;
114      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');
115  end;  end;
116    
117  %send to workspace:  %send to workspace:

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22