1 |
|
2 |
global MITprof_verbose; MITprof_verbose=1; |
3 |
|
4 |
fprintf('adding directories to your path\n'); |
5 |
fprintf('===============================\n\n') |
6 |
mydir=[pwd '/']; |
7 |
eval(['addpath ' mydir 'profiles_IO_v2/;']); |
8 |
eval(['addpath ' mydir 'profiles_IO_external/;']); |
9 |
eval(['addpath ' mydir 'profiles_misc/;']); |
10 |
eval(['addpath ' mydir 'profiles_process_main_v2/;']); |
11 |
eval(['addpath ' mydir 'profiles_genericgrid/;']); |
12 |
|
13 |
|
14 |
|
15 |
fprintf('running main program on sample data sets\n') |
16 |
fprintf('========================================\n\n') |
17 |
|
18 |
%remove old results: |
19 |
!\rm profiles_samples/wod05_sample/wod05_CTD_1990s.nc; |
20 |
!\rm profiles_samples/argo_sample/argo_indian.nc; |
21 |
|
22 |
%select the data source (and specific params) => wod05 sample |
23 |
dataset=profiles_prep_select('wod05','90CTD'); |
24 |
%process it |
25 |
profiles_prep_main; |
26 |
% |
27 |
fprintf(['\n\n wod05 sample -- done -- ' dataset.dirOut dataset.fileOut '.nc \n\n']); |
28 |
|
29 |
%select the data source (and specific params) => argo sample |
30 |
dataset=profiles_prep_select('argo','indian'); |
31 |
%process it |
32 |
profiles_prep_main; |
33 |
% |
34 |
fprintf(['\n\nargo sample -- done -- ' dataset.dirOut dataset.fileOut '.nc \n\n']); |
35 |
|
36 |
|
37 |
|