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

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

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


Revision 1.20 - (show annotations) (download)
Thu Mar 3 18:33:11 2016 UTC (9 years, 4 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65x, checkpoint65v, checkpoint65w, checkpoint65u, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, HEAD
Changes since 1.19: +1 -1 lines
Error occurred while calculating annotation data.
- add full Argo case; distinguish from the sample case using subset.
- set dataset.addGrid to 1 by default.

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 fil=[dataset.dirOut dataset.fileOut];
31 if ~isempty(dir(fil));
32 fprintf(['\n\n wod05 sample -- done -- ' fil ' was created \n\n']);
33 else;
34 warning(['wod05 sample -- SKIPPED -- ' fil ' was NOT created \n\n']);
35 end;
36
37 %select the data source (and specific params) => argo sample
38 dataset=profiles_prep_select('argo','sample');
39 %process it
40 profiles_prep_main(dataset);
41 %
42 fil=[dataset.dirOut dataset.fileOut];
43 if ~isempty(dir(fil));
44 fprintf(['\n\n argo sample -- done -- ' fil ' was created \n\n']);
45 else;
46 warning(['argo sample -- SKIPPED -- ' fil ' was NOT created \n\n']);
47 end;
48
49 %select the data source (and specific params) => odv sample
50 dataset=profiles_prep_select('odv','ODVcompact_sample');
51 %process it
52 profiles_prep_main(dataset);
53 %
54 fil=[dataset.dirOut dataset.fileOut];
55 if ~isempty(dir(fil));
56 fprintf(['\n\n odv sample -- done -- ' fil ' was created \n\n']);
57 else;
58 warning(['odv sample -- SKIPPED -- ' fil ' was NOT created \n\n']);
59 end;
60
61 fprintf('\n basic MITprof test: completed. \n');
62

  ViewVC Help
Powered by ViewVC 1.1.22