1 |
Instructions for setting up a cube-sphere integration with sea-ice. |
Instructions for setting up a cube-sphere integration with sea-ice. |
2 |
Date last tested: November 21, 2003. |
Date last tested: December 6, 2003. |
3 |
|
|
4 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
5 |
cvs login ( CVS password: cvsanon ) |
cvs login ( CVS password: cvsanon ) |
6 |
|
|
7 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
8 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
9 |
cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
10 |
cvs co MITgcm_contrib/high_res_cube/input |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
11 |
cvs co MITgcm_contrib/high_res_cube/results |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
12 |
|
|
13 |
cvs co -r checkpoint52b_post MITgcm_code |
cvs co -r checkpoint52d_pre MITgcm_code |
14 |
cvs co -r checkpoint52b_post MITgcm/verification/global_ocean.cs32x15 |
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
15 |
|
|
16 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
17 |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
37 |
comparison output is in: |
comparison output is in: |
38 |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
39 |
|
|
|
|
|
40 |
to use matlab to look at the output |
to use matlab to look at the output |
41 |
matlab |
matlab |
42 |
% for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} |
for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} |
|
for fld={'Eta','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} |
|
43 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
44 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
45 |
end |
end |