/[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.7 by roquet, Wed Apr 13 22:01:00 2011 UTC revision 1.8 by roquet, Wed Apr 27 21:13:16 2011 UTC
# Line 1  Line 1 
1    clear all
2    
3  global MITprof_verbose; %to print notes to screen  global MITprof_verbose; %to print notes to screen
4  if isempty(MITprof_verbose); MITprof_verbose=2; end;  if isempty(MITprof_verbose); MITprof_verbose=2; end;
5    
6  if MITprof_verbose;  if MITprof_verbose;
7    fprintf('generating database directory with reference datasets\n');
8    fprintf('===============================\n\n')
9    end;
10    status=mkdir('climatology');
11    gcmfaces_path;gcmfaces_dir=mydir;
12    eval(['!cp ' gcmfaces_dir 'sample_input/GRIDv4 climatology/']);
13    eval(['!cp ' gcmfaces_dir 'sample_input/OCCAetcONv4GRID/* climatology/']);
14    profiles_prep_load_fields(1);
15    
16    if MITprof_verbose;
17  fprintf('adding directories to your path\n');  fprintf('adding directories to your path\n');
18  fprintf('===============================\n\n')  fprintf('===============================\n\n')
19  end;  end;
# Line 17  aa=sprintf([aa 'addpath ' mydir 'profile Line 28  aa=sprintf([aa 'addpath ' mydir 'profile
28  aa=sprintf([aa 'addpath ' mydir 'profiles_process_main_v2/;\n']);  aa=sprintf([aa 'addpath ' mydir 'profiles_process_main_v2/;\n']);
29  aa=sprintf([aa 'addpath ' mydir 'profiles_stats/\n;']);  aa=sprintf([aa 'addpath ' mydir 'profiles_stats/\n;']);
30  aa=sprintf([aa 'addpath ' mydir 'profiles_devel/\n;']);  aa=sprintf([aa 'addpath ' mydir 'profiles_devel/\n;']);
31    aa=sprintf([aa 'addpath ' mydir 'database/\n;']);
32  eval(aa);  eval(aa);
33  fid=fopen([mydir 'MITprof_path.m'],'wt'); fprintf(fid,aa); fclose(fid);  fid=fopen([mydir 'MITprof_path.m'],'wt'); fprintf(fid,aa); fclose(fid);
34    

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

  ViewVC Help
Powered by ViewVC 1.1.22