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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Oct 21 19:40:17 2010 UTC (14 years, 8 months ago) by gforget
Branch: MAIN
up-to-date matlab codes to process in-situ
data sets to MITgcm/pkg/profiles input format.

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

  ViewVC Help
Powered by ViewVC 1.1.22