forked from Slepian/Slepian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prep_octave.m
51 lines (31 loc) · 2.01 KB
/
prep_octave.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
function prep_octave()
disp('Downloading some additional octave functions');
mkdir('octave_funcs');
cd('octave_funcs');
urlwrite('http://lasp.colorado.edu/cism/CISM_DX/code/CISM_DX-0.50/required_packages/octave/share/octave/2.1.50/m/strings/str2mat.m','str2mat.m');
urlwrite('http://lasp.colorado.edu/cism/CISM_DX/code/CISM_DX-0.50/required_packages/octave/share/octave/2.1.50/m/deprecated/setstr.m','setstr.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/meanm.m','meanm.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/geoidtst.m','geoidtst.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/angledim.m','angledim.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/geod2aut.m','geod2aut.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/aut2geod.m','aut2geod.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/npi2pi.m','npi2pi.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/epsm.m','epsm.m');
urlwrite('http://mooring.ucsd.edu/software/matlab/mfiles/toolbox/geo/private/meanm.m','meanm.m');
% urlwrite('http://savannah.gnu.org/support/download.php?file_id=37343','ispolycw.m')
disp('.. done')
cd('..');
cd('IFILES');
cd('COASTS');
disp('For Octave: Downloading some coasts')
urlwrite('http://alainplattner.net/COASTS/Africa.mat','Africa.mat');
urlwrite('http://alainplattner.net/COASTS/Antarctica.mat','Antarctica.mat');
urlwrite('http://alainplattner.net/COASTS/Australia.mat','Australia.mat');
urlwrite('http://alainplattner.net/COASTS/Eurasia.mat','Eurasia.mat');
urlwrite('http://alainplattner.net/COASTS/Namerica.mat','Namerica.mat');
urlwrite('http://alainplattner.net/COASTS/Samerica.mat','Samerica.mat');
urlwrite('http://alainplattner.net/COASTS/Greenland.mat','Greenland.mat');
urlwrite('http://alainplattner.net/COASTS/Ellesmere.mat','Ellesmere.mat');
cd('..');
cd('..');
disp('.. done')