1 |
|
|
2 |
---- downloading matlab toolboxes ---- |
This file has been replaced with the pdf version (idma2016-instructions.pdf) available at |
3 |
|
http://mitgcm.org/viewvc/*checkout*/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/guidelines/idma2016-instructions.pdf |
|
0) login as guest |
|
|
|
|
|
1) open web browser and download setup_gcmfaces_and_mitprof.csh |
|
|
from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/ |
|
|
|
|
|
notes : |
|
|
to download this script: click on the file name, then |
|
|
on the download button near the top of the page |
|
|
if you are using a windows computer then the shell |
|
|
script method wont do it -- see 'alternative download method' |
|
|
|
|
|
2) open terminal window and download tooloxes via shell script: |
|
|
csh |
|
|
mkdir iap-idma |
|
|
mv Downloads/setup_gcmfaces_and_mitprof.csh iap-idma/ |
|
|
cd iap-idma |
|
|
source ./setup_gcmfaces_and_mitprof.csh |
|
|
|
|
|
notes : |
|
|
disk space requirement ~ 800M (plus session specific items) |
|
|
2011 or later matlab version is needed (for native netcdf implementation) |
|
|
|
|
|
2') alternative download method: |
|
|
- open a web browser and go to |
|
|
http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_gcmfaces.tar.gz |
|
|
http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_MITprof.tar.gz |
|
|
- move the two downloaded files to your iap-idma directory |
|
|
- click on each of the two files to unpack c65r_gcmfaces and c65r_MITprof |
|
|
- rename c65r_gcmfaces as gcmfaces and c65r_MITprof as MITprof |
|
|
|
|
|
notes : |
|
|
for session 1 you only need MITprof but gcmfaces will come |
|
|
handy later so your might as well download both right away |
|
|
the shell script method uses CVS (see http://mitgcm.org/public/using_cvs.html) |
|
|
and should be preferred if possible (e.g. under linux or IOS on a MAC) |
|
|
since CVS allows for updates later on. |
|
|
|
|
|
---- for session #1 ---- |
|
|
|
|
|
1,2) same as above (see 'downloading matlab toolboxes') |
|
|
|
|
|
3) download idma_float_plot.m from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/matlab/ |
|
|
|
|
|
4) in terminal window |
|
|
mv ~/Downloads/idma_float_plot.m ~/iap-idma/. |
|
|
|
|
|
5) download Argo etc |
|
|
cd ~/iap-idma |
|
|
mkdir release1 |
|
|
wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1 |
|
|
mv mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1 release1/. |
|
|
|
|
|
6) start matlab and run idma_float_plot.m |
|
|
matlab |
|
|
addpath matlab/ |
|
|
[p]=idma_float_plot('2900828'); |
|
|
|
|
|
notes : |
|
|
disk space requirement ~ 6.4G (plus 0.8G from steps 1,2) |
|
|
start matlab at command line : matlab -nodesktop |
|
|
idma_float_plot adds the MITprof/ subdirectories to the matlab path |
|
|
|
|
4 |
|
|