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

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

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


Revision 1.1 - (show annotations) (download)
Mon Apr 11 22:20:15 2011 UTC (14 years, 3 months ago) by roquet
Branch: MAIN
CVS Tags: checkpoint65r, checkpoint65p, checkpoint65q, checkpoint65t
provide examples of how to use the toolbox to load profiles from different datasets

1
2
3 %% select the data source (and specific params) => wod05 sample
4 cd /Users/roquet/Documents/MATLAB/MITprof
5 dataset=profiles_prep_select('wod05','90CTD');
6 profiles_prep_main(dataset);
7 fprintf(['\n\n wod05 sample -- done -- \n\n']);
8
9 %% select the data source (and specific params) => argo sample
10 cd /Users/roquet/Documents/MATLAB/MITprof
11 dataset=profiles_prep_select('argo','indian');
12 profiles_prep_main(dataset);
13 fprintf(['\n\n argo sample -- done -- \n\n']);
14
15 %% select the data source (and specific params) => odv sample
16 cd /Users/roquet/Documents/MATLAB/MITprof
17 dataset=profiles_prep_select('odv','ODVcompact_sample');
18 profiles_prep_main(dataset);
19 fprintf(['\n\n odv sample -- done -- \n\n']);
20
21 %%
22 fprintf('\n basic MITprof test: completed. \n');
23

  ViewVC Help
Powered by ViewVC 1.1.22