/[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.11 by gforget, Thu Feb 23 18:15:49 2017 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','diags_pre_process','diags_grid'};
110    list1={list1{:},'profiles_prep_main','profiles_prep_select','MITprof_demo'};
111  for jj=1:length(list1);  for jj=1:length(list1);
112      test1=test1&isempty(find(strcmp(ST,list1{jj})));      test1=test1&isempty(find(strcmp(ST,list1{jj})));
113  end;  end;
114  if test0&test1&myenv.issueWarnings;  if test0&test1&myenv.issueWarnings;
115      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');
116  end;  end;
117    
118  %send to workspace:  %send to workspace:

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

  ViewVC Help
Powered by ViewVC 1.1.22