| 1 |
dimitri |
1.1 |
Instructions for setting up a cube-sphere integration with sea-ice. |
| 2 |
|
|
Date last tested: November 21, 2003. |
| 3 |
|
|
|
| 4 |
|
|
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
| 5 |
|
|
cvs login ( CVS password: cvsanon ) |
| 6 |
dimitri |
1.3 |
|
| 7 |
|
|
cvs co MITgcm_contrib/high_res_cube/README_ice |
| 8 |
dimitri |
1.1 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
| 9 |
|
|
cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter |
| 10 |
dimitri |
1.3 |
cvs co MITgcm_contrib/high_res_cube/input |
| 11 |
|
|
cvs co MITgcm_contrib/high_res_cube/results |
| 12 |
|
|
|
| 13 |
dimitri |
1.1 |
cvs co -r checkpoint52a_post MITgcm_code |
| 14 |
dimitri |
1.3 |
cvs co -r checkpoint52a_post MITgcm/verification/global_ocean.cs32x15 |
| 15 |
|
|
|
| 16 |
dimitri |
1.1 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 17 |
|
|
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 18 |
|
|
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
| 19 |
|
|
\rm mdsio_readfield.F |
| 20 |
dimitri |
1.3 |
|
| 21 |
dimitri |
1.2 |
cd .. |
| 22 |
|
|
mkdir build |
| 23 |
|
|
cd build |
| 24 |
|
|
../code/genmake2 -mods=../code |
| 25 |
dimitri |
1.1 |
make depend |
| 26 |
|
|
make |
| 27 |
dimitri |
1.3 |
|
| 28 |
dimitri |
1.1 |
cd .. |
| 29 |
|
|
mkdir run |
| 30 |
|
|
cd run |
| 31 |
|
|
cp ../input/* . |
| 32 |
|
|
cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
| 33 |
|
|
cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 34 |
dimitri |
1.3 |
../build/mitgcmuv >& output.txt |
| 35 |
|
|
|
| 36 |
|
|
comparison output is in: |
| 37 |
|
|
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
| 38 |
|
|
|
| 39 |
|
|
|
| 40 |
|
|
to use matlab to look at the output |
| 41 |
|
|
matlab |
| 42 |
|
|
eta=permute(readbin('Eta.0000072020.data',[32,6,32]),[1 3 2]); |
| 43 |
|
|
cx=[-1 1]; clf |
| 44 |
|
|
subplot(3,4, 9);imagesc(flipud(eta(:,:,1)'));caxis(cx);colorbar |
| 45 |
|
|
subplot(3,4,10);imagesc(flipud(eta(:,:,2)'));caxis(cx);colorbar |
| 46 |
|
|
subplot(3,4, 6);imagesc(flipud(eta(:,:,3)'));caxis(cx);colorbar |
| 47 |
|
|
subplot(3,4, 7);imagesc(flipud(eta(:,:,4)'));caxis(cx);colorbar |
| 48 |
|
|
subplot(3,4, 3);imagesc(flipud(eta(:,:,5)'));caxis(cx);colorbar |
| 49 |
|
|
subplot(3,4, 4);imagesc(flipud(eta(:,:,6)'));caxis(cx);colorbar |