9 |
% release1 (ECCO v4 output) |
% release1 (ECCO v4 output) |
10 |
% sample_input (additional demo material) |
% sample_input (additional demo material) |
11 |
% |
% |
12 |
%to activate example_remap: |
%the ECCO v4 grid can be obtained as follows: |
13 |
% |
% |
14 |
% mkdir sample_input |
% wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_grid |
15 |
% wget ftp://mit.ecco-group.org/gforget/testcase_remap.mat |
% mv mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_grid . |
16 |
% mv testcase_remap.mat sample_input/. |
% rm -rf mit.ecco-group.org |
17 |
% |
% |
18 |
%to activate example_transports: |
%to activate example_transports: |
19 |
% |
% |
20 |
% mkdir release1 |
% mkdir release1 |
21 |
% wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_climatology |
% wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_climatology |
22 |
% mv mit.ecco-group.org/gforget/nctiles_climatology release1/. |
% mv mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_climatology release1/. |
23 |
% rm -rf mit.ecco-group.org |
% rm -rf mit.ecco-group.org |
24 |
% |
% |
25 |
%to activate example_budget: |
%to activate example_budget: |
26 |
% |
% |
27 |
|
% mkdir sample_input |
28 |
% wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_budget_2d |
% wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_budget_2d |
29 |
% mv mit.ecco-group.org/gforget/nctiles_budget_2d sample_input/. |
% mv mit.ecco-group.org/gforget/nctiles_budget_2d sample_input/. |
30 |
% rm -rf mit.ecco-group.org |
% rm -rf mit.ecco-group.org |
72 |
gcmfaces_msg('* (this warning gets resolved below by calling grid_load)'); |
gcmfaces_msg('* (this warning gets resolved below by calling grid_load)'); |
73 |
end; |
end; |
74 |
|
|
75 |
if ~isempty(which('MITprof_global')); |
%if ~isempty(which('MITprof_global')); |
76 |
MITprof_global; |
% MITprof_global; |
77 |
if myenv.verbose>0; |
% if myenv.verbose>0; |
78 |
gcmfaces_msg('* MITprof_global: adds MITprof directories to path'); |
% gcmfaces_msg('* MITprof_global: adds MITprof directories to path'); |
79 |
end; |
% end; |
80 |
end; |
%end; |
81 |
|
|
82 |
fprintf('\n\n'); |
fprintf('\n\n'); |
83 |
gcmfaces_msg('/////////////////////////////////////'); |
gcmfaces_msg('/////////////////////////////////////'); |
99 |
|
|
100 |
fprintf('\n\n'); |
fprintf('\n\n'); |
101 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
102 |
gcmfaces_msg('demo of remapping ','// PART 2 :'); |
gcmfaces_msg('demo of interpolation and remapping ','// PART 2 :'); |
103 |
gcmfaces_msg('please hit return','// >> '); |
gcmfaces_msg('please hit return','// >> '); |
104 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
105 |
fprintf('\n\n'); |
fprintf('\n\n'); |
106 |
pause; |
pause; |
107 |
example_remap(0); |
example_interp; |
108 |
|
|
109 |
fprintf('\n\n'); |
fprintf('\n\n'); |
110 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
111 |
gcmfaces_msg('demo of bin averaging (gridding)','// PART 2 :'); |
gcmfaces_msg('demo of bin averaging data sample to grid','// PART 2 :'); |
112 |
gcmfaces_msg('please hit return','// >> '); |
gcmfaces_msg('please hit return','// >> '); |
113 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
114 |
fprintf('\n\n'); |
fprintf('\n\n'); |
115 |
pause; |
pause; |
|
%alternatives |
|
|
%example_griddata; |
|
|
%example_interp; |
|
|
%example_faces2latlon2faces; |
|
116 |
fld=example_bin_average; |
fld=example_bin_average; |
117 |
|
|
118 |
fprintf('\n\n'); |
fprintf('\n\n'); |
119 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
120 |
gcmfaces_msg('demo of smoothing ','// PART 2 :'); |
gcmfaces_msg('demo of smoothing through diffusion','// PART 2 :'); |
121 |
gcmfaces_msg('please hit return','// >> '); |
gcmfaces_msg('please hit return','// >> '); |
122 |
gcmfaces_msg('///////////////////////////////////////////'); |
gcmfaces_msg('///////////////////////////////////////////'); |
123 |
fprintf('\n\n'); |
fprintf('\n\n'); |