/[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.2 - (show annotations) (download)
Wed Nov 3 19:59:54 2010 UTC (14 years, 8 months ago) by gforget
Branch: MAIN
Changes since 1.1: +4 -2 lines
- take care of some print statements.
- introduce profiles_read_seals.m

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

  ViewVC Help
Powered by ViewVC 1.1.22