1 |
|
|
2 |
|
---- common to all matlab sessions ---- |
3 |
|
|
4 |
0) login as guest |
0) login as guest |
5 |
|
|
6 |
1) open web browser, go to: |
1) open web browser, and download setup_gcmfaces_and_mitprof.csh |
7 |
http://mitgcm.org/ |
from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/ |
8 |
follow links: |
|
9 |
Source code |
note : |
10 |
CVS code browser |
for step 1, please be sure to use the download button |
11 |
Parent Directory |
of the browser rather than e.g. wget that can conflict |
12 |
MITgcm_contrib/ |
with the behavior of the CVS web interface |
|
gael/ |
|
|
setup_gcmfaces_and_mitprof.csh |
|
|
download |
|
13 |
|
|
14 |
2) open terminal window, and proceed to download material: |
2) open terminal window, and proceed to download codes: |
15 |
|
csh |
16 |
mkdir iap-idma |
mkdir iap-idma |
17 |
mv Downloads/setup_gcmfaces_and_mitprof.csh iap-idma/ |
mv Downloads/setup_gcmfaces_and_mitprof.csh iap-idma/ |
18 |
cd iap-idma |
cd iap-idma |
|
alias matlab /usr/local/matlab_2012a/bin/matlab |
|
19 |
source ./setup_gcmfaces_and_mitprof.csh |
source ./setup_gcmfaces_and_mitprof.csh |
20 |
|
|
21 |
notes : |
notes : |
22 |
disk space requirement ~ 800M + 13G from item #4 |
disk space requirement ~ 800M (plus class specific items) |
23 |
matlab requirement > 2011 (for native netcdf implementation) |
matlab requirement > 2011 (for native netcdf implementation) |
24 |
|
|
25 |
|
---- for class #1 ---- |
26 |
|
|
27 |
|
1,2) see 'common to all classes' above |
28 |
|
|
29 |
|
3) download idma_float_plot.m from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2015/computing/ |
30 |
|
|
31 |
|
4) in terminal window |
32 |
|
mv ~/Downloads/idma_float_plot.m ~/iap-idma/. |
33 |
|
|
34 |
|
5) download Argo etc |
35 |
|
cd ~/iap-idma |
36 |
|
mkdir release1 |
37 |
|
wget --recursive ftp://mit.ecco-group.org/gforget/MITprof |
38 |
|
mv mit.ecco-group.org/gforget/MITprof release1/. |
39 |
|
|
40 |
|
6) start matlab and run idma_float_plot.m |
41 |
|
matlab |
42 |
|
[p]=idma_float_plot('2900828'); |
43 |
|
|
44 |
|
notes : |
45 |
|
disk space requirement ~ 6.4G (plus 0.8G from steps 1,2) |
46 |
|
start matlab at command line : matlab -nodesktop |
47 |
|
|
48 |
|
---- for class #2 ---- |
49 |
|
|
50 |
|
1,2) see 'common to all classes' above |
51 |
|
|
52 |
3) start matlab and run gcmfaces_demo |
3) start matlab and run gcmfaces_demo |
53 |
/usr/local/matlab_2012a/bin/matlab |
cd ~/iap-idma |
54 |
|
matlab |
55 |
addpath gcmfaces |
addpath gcmfaces |
56 |
gcmfaces_demo |
gcmfaces_demo |
57 |
|
exit |
58 |
|
|
59 |
4) download Argo and ECCO climatology |
4) download ECCO climatology |
60 |
|
cd ~/iap-idma |
61 |
mkdir release1 |
mkdir release1 |
|
wget --recursive ftp://mit.ecco-group.org/gforget/MITprof |
|
|
mv mit.ecco-group.org/gforget/MITprof release1/. |
|
62 |
|
|
63 |
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/THETA |
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/THETA |
64 |
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/SALT |
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/SALT |
71 |
mv mit.ecco-group.org/gforget/nctiles_climatology release1/. |
mv mit.ecco-group.org/gforget/nctiles_climatology release1/. |
72 |
|
|
73 |
5) start matlab and run example_transports (or re-run gcmfaces_demo). |
5) start matlab and run example_transports (or re-run gcmfaces_demo). |
74 |
/usr/local/matlab_2012a/bin/matlab |
cd ~/iap-idma |
75 |
|
matlab |
76 |
addpath gcmfaces |
addpath gcmfaces |
77 |
gcmfaces_global |
gcmfaces_global |
78 |
diags=example_transports('v4'); |
diags=example_transports('v4'); |