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 |
|
1) create a directory called `iap-idma' and two subdirectories |
|
|
called `iap-idma/matlab' and `iap-idma/release1' |
|
|
|
|
|
2) open a web browser and download the following two files: |
|
|
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 |
|
|
|
|
|
3) move these two files to the idma directory and uncompress them. |
|
|
|
|
|
4) the iap-idma directory should now contain two subdirectories |
|
|
named `c65r_gcmfaces' and `c65r_MITprof'. Rename them simply |
|
|
as `gcmfaces' and `MITprof' |
|
|
|
|
|
notes : |
|
|
- disk space requirement ~ 800M (plus session specific items that will be added later) |
|
|
- 2011 or later matlab version is needed (for native netcdf implementation) |
|
|
- for session 1 you only need MITprof but gcmfaces will come |
|
|
handy later so your might as well download both right away |
|
|
|
|
|
---- for session #1 ---- |
|
|
|
|
|
1) see 'downloading matlab toolboxes' |
|
|
|
|
|
2) download idma_float_plot.m, idma_box_subset.m, and idma_box_mean.m from |
|
|
http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/matlab/ |
|
|
|
|
|
3) move these files to the iap-idma/matlab directory |
|
|
|
|
|
4) using you favorite ftp client (e.g. fetch in iOS, secureFX in MS-windows, |
|
|
or wget in LINUX) to download the following directory: |
|
|
ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1 |
|
|
|
|
|
5) move MITprof_release1 to the iap-idma/release1 directory |
|
|
|
|
|
6) start matlab, go to the iap-idma directory, and type: |
|
|
addpath matlab/ |
|
|
[p]=idma_float_plot('4900828'); |
|
|
idma_box_subset; |
|
|
idma_box_mean; |
|
|
|
|
|
notes : |
|
|
- disk space requirement ~ 6.4G |
|
|
- idma_float_plot.m and idma_box_subset.m both add the |
|
|
iap-idma/MITprof/ and its subdirectories to the matlab path |
|
|
- idma_box_subset is the most time consuming of the three |
|
|
scripts and may take ~3 minutes |
|
4 |
|
|