1 |
clear all |
2 |
|
3 |
gcmfaces_global; |
4 |
myenv.verbose=1; |
5 |
|
6 |
fprintf('\n\n basic MITprof test: started... \n'); |
7 |
|
8 |
if myenv.verbose; |
9 |
fprintf('\nadding directories to your path\n'); |
10 |
fprintf('===============================\n\n') |
11 |
end; |
12 |
MITprof_global; |
13 |
|
14 |
if myenv.verbose; |
15 |
fprintf('\nloading reference grid and climatology\n') |
16 |
fprintf('========================================\n\n') |
17 |
end; |
18 |
profiles_prep_load_fields; |
19 |
|
20 |
if myenv.verbose; |
21 |
fprintf('\nrunning main program on sample data sets\n') |
22 |
fprintf('========================================\n\n') |
23 |
end; |
24 |
|
25 |
%select the data source (and specific params) => wod05 sample |
26 |
dataset=profiles_prep_select('wod05','90CTD'); |
27 |
%process it |
28 |
profiles_prep_main(dataset); |
29 |
% |
30 |
fprintf(['\n\n wod05 sample -- done -- ' dataset.dirOut dataset.fileOut ' was created \n\n']); |
31 |
|
32 |
%select the data source (and specific params) => argo sample |
33 |
dataset=profiles_prep_select('argo','indian'); |
34 |
%process it |
35 |
profiles_prep_main(dataset); |
36 |
% |
37 |
fprintf(['\n\nargo sample -- done -- ' dataset.dirOut dataset.fileOut ' was created \n\n']); |
38 |
|
39 |
%select the data source (and specific params) => odv sample |
40 |
dataset=profiles_prep_select('odv','ODVcompact_sample'); |
41 |
%process it |
42 |
profiles_prep_main(dataset); |
43 |
% |
44 |
fprintf(['\n\nodv sample -- done -- ' dataset.dirOut dataset.fileOut ' was created \n\n']); |
45 |
|
46 |
fprintf('\n basic MITprof test: completed. \n'); |
47 |
|