Skip to content

Commit 07f98a9

Browse files
Keith RobertsWPringle
andauthored
Update SRTM to 2.3 (#252)
* Update setup.sh * Update version of SRTM * changing SRTM15+ filename to remove version number so as to avoid needing to update. Also use wildcard in wget ftp download to automatically get the newest version * removing unnecessary commited files Co-authored-by: William Pringle <[email protected]>
1 parent cada81f commit 07f98a9

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ datasets/
33
fort.*
44
Examples/*
55
!Examples/Example_*
6-
/*.mat
6+
*/*.mat
77
*.15
88
*.14
99
*.13

Examples/Example_11_Remeshing_Patches.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
% Get out the msh class and put on nodestrings
3939
m = mshopts.grd;
4040
% Interpolate topobathy data onto the vertices of the mesh.
41-
m = interp(m,'SRTM15+V2.1.nc');
41+
m = interp(m,'SRTM15+.nc');
4242
%% Extract the region which you want to remesh
4343
% For the purpose of this example, we have drawn a random polygon on top
4444
% of the mesh for which we would like to remesh.

Examples/Example_12_Riverine_flow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
%% STEP 2: specify geographical datasets and process the geographical data
4545
%% to be used later with other OceanMesh classes...
46-
dem = 'SRTM15+V2.1.nc';
46+
dem = 'SRTM15+.nc';
4747
coastline = 'GSHHS_f_L1';
4848
gdat = geodata('shp',coastline,'dem',dem,'h0',min_el,'bbox',bbox);
4949
%plot(gdat,'shp');

Examples/Example_3_ECGC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
%% STEP 2: specify geographical datasets and process the geographical data
2626
%% to be used later with other OceanMesh classes...
27-
dem = 'SRTM15+V2.1.nc';
27+
dem = 'SRTM15+.nc';
2828
coastline = 'GSHHS_f_L1';
2929
gdat1 = geodata('shp',coastline,'dem',dem,'h0',min_el,...
3030
'bbox',bbox);

Examples/Example_4_PRVI.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
max_el = 10e3; % maximum resolution in meters.
2525

2626
coastline = 'GSHHS_f_L1';
27-
dem = 'SRTM15+V2.1.nc';
27+
dem = 'SRTM15+.nc';
2828
gdat{1} = geodata('shp',coastline,...
2929
'dem',dem,...
3030
'bbox',bbox,...

Examples/Example_7_Global.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
%% STEP 2: specify geographical datasets and process the geographical data
2424
%% to be used later with other OceanMesh classes...
25-
dem = 'SRTM15+V2.1.nc';
25+
dem = 'SRTM15+.nc';
2626
coastline = {'GSHHS_f_L1','GSHHS_f_L6'};
2727
gdat1 = geodata('shp',coastline,'dem',dem,...
2828
'bbox',bbox,'h0',min_el);

Examples/Example_8_AK.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
%% STEP 2: specify geographical datasets and process the geographical data
2727
%% to be used later with other OceanMesh classes...
28-
dem = 'SRTM15+V2.1.nc';
28+
dem = 'SRTM15+.nc';
2929
coastline = 'GSHHS_f_L1';
3030
gdat = geodata('shp',coastline,'bbox',bbox,'h0',min_el);
3131
% plotting the gdat to show it crosses the 180/-180 and

Examples/Example_9_TBAY.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
% Shoreline
3232
shoreline = 'GSHHS_f_L1';
3333
% Bathy data
34-
dem = 'SRTM15+V2.1.nc';
34+
dem = 'SRTM15+.nc';
3535
%% Define meshing domain and parameters
3636
bbox{1} = [-83, -82; 27 28.5]; % outermost bbox
3737
min_el = 100; % minimum edgelength

Tests/RunTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
TestInterp
2020

21-
if exist('SRTM15+V2.1.nc')
21+
if exist('SRTM15+.nc')
2222

2323
TestECGC
2424

2525
else
2626

27-
warning('Need to download SRTM15+V2.1.nc to run TestECGC. Run setup.sh')
27+
warning('Need to download SRTM15+.nc to run TestECGC. Run setup.sh')
2828

2929
end
3030

Tests/TestECGC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
R = 3; % Number of elements to resolve feature.
2121

2222

23-
dem = 'SRTM15+V2.1.nc';
23+
dem = 'SRTM15+.nc';
2424
coastline = 'GSHHS_f_L1';
2525
gdat1 = geodata('shp',coastline,'dem',dem,'h0',min_el,...
2626
'bbox',bbox);

0 commit comments

Comments
 (0)