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 |
|