3 |
gcmfaces_global; |
gcmfaces_global; |
4 |
myenv.verbose=1; |
myenv.verbose=1; |
5 |
|
|
6 |
if myenv.verbose; |
fprintf('\n\n basic MITprof test: started... \n'); |
|
fprintf('creating database directory with reference datasets\n'); |
|
|
fprintf('===============================\n\n') |
|
|
end; |
|
|
if ~exist('climatology','dir'), status=mkdir('climatology'); end |
|
|
gcmfaces_global; |
|
|
eval(['!ln -s ' myenv.gcmfaces_dir 'sample_input/GRIDv4 climatology/']); |
|
|
eval(['!ln -s ' myenv.gcmfaces_dir 'sample_input/OCCAetcONv4GRID/* climatology/']); |
|
7 |
|
|
8 |
if myenv.verbose; |
if myenv.verbose; |
9 |
fprintf('adding directories to your path\n'); |
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; |
if myenv.verbose; |
15 |
fprintf('\ngenerating .mat files for reference grid and climatology\n') |
fprintf('\nloading 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 myenv.verbose; |
if myenv.verbose; |
21 |
fprintf('\nrunning main program on sample data sets\n') |
fprintf('\nrunning main program on sample data sets\n') |