/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_process_init.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/profilesMatlabProcessing/profiles_process_init.m

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

revision 1.14 by gforget, Mon Jul 28 19:34:16 2014 UTC revision 1.17 by gforget, Mon Jul 28 23:30:07 2014 UTC
# Line 1  Line 1 
1  clear all  clear all
2    
 global MITprof_verbose; %to print notes to screen  
 if isempty(MITprof_verbose); MITprof_verbose=2; end;  
   
 if MITprof_verbose;  
 fprintf('creating database directory with reference datasets\n');  
 fprintf('===============================\n\n')  
 end;  
 if ~exist('climatology','dir'), status=mkdir('climatology'); end  
3  gcmfaces_global;  gcmfaces_global;
4  eval(['!ln -s ' myenv.gcmfaces_dir 'sample_input/GRIDv4 climatology/']);  myenv.verbose=1;
 eval(['!ln -s ' myenv.gcmfaces_dir 'sample_input/OCCAetcONv4GRID/* climatology/']);  
5    
6  if MITprof_verbose;  fprintf('\n\n basic MITprof test: started... \n');
7  fprintf('adding directories to your path\n');  
8    if myenv.verbose;
9    fprintf('\nadding directories to your path\n');
10  fprintf('===============================\n\n')  fprintf('===============================\n\n')
11  end;  end;
12  MITprof_global;  MITprof_global;
13    
14            if myenv.verbose;
15  if MITprof_verbose;  fprintf('\nloading  reference grid and climatology\n')
 fprintf('\ngenerating .mat files for reference grid and climatology\n')  
16  fprintf('========================================\n\n')  fprintf('========================================\n\n')
17  end;  end;
18  profiles_prep_load_fields(1);  profiles_prep_load_fields;
   
 fprintf('\n\n basic MITprof test: started... \n');  
19    
20  if MITprof_verbose;  if myenv.verbose;
21  fprintf('\nrunning main program on sample data sets\n')  fprintf('\nrunning main program on sample data sets\n')
22  fprintf('========================================\n\n')  fprintf('========================================\n\n')
23  end;  end;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22