/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_demo.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/gcmfaces_demo.m

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 21 21:07:09 2011 UTC (14 years ago) by gforget
Branch: MAIN
- driver routine for the various tests of sample_analysis and sample_processing

1 gforget 1.1
2     %environment variables:
3     global myenv;
4     myenv.gcmfaces_verbose=0;
5     myenv.gcmfaces_dir=[pwd '/gcmfaces/'];
6     myenv.MITprof_verbose=0;
7     myenv.MITprof_dir=[pwd '/gcmfaces/'];
8     myenv.useNativeMatlabNetcdf = ~isempty(which('netcdf.open'));
9    
10     %re-init mygrid:
11     global mygrid; mygrid=[];
12    
13     choiceGrid='v4';
14    
15     %transform those to functions with v3/v4 arguments:
16     basic_diags_compute_v3_or_v4(choiceGrid);
17     basic_diags_display_v3_or_v4(choiceGrid);
18    
19     example_bin_average(choiceGrid,1);%incl. call to example_smooth.m;
20     example_griddata(choiceGrid);
21     example_interp(choiceGrid);
22    
23     plot_one_field(choiceGrid,0);%%incl. call to m_map_gcmfaces;
24    
25    

  ViewVC Help
Powered by ViewVC 1.1.22