Changeset 18324
- Timestamp:
- 08/03/14 19:08:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-ad2/src/m/plot/prepare_gl.m
r18323 r18324 13 13 %database: {{{ 14 14 if strcmpi(md.mesh.hemisphere','s'), 15 geotiff_name_earth=['/u/astrid-r1b/ModelData/MosaicTiffRsat/amm125m_v2_200m.wgs84.tif'];16 15 radar_image_earth='/Users/larour/ModelData/TrueMarble_GeoTIFF/radar_no_antarctica.png'; 17 triangulation_earth='/Users/larour/ModelData/DEM_geotiff/processed/triangulation .mat';16 triangulation_earth='/Users/larour/ModelData/DEM_geotiff/processed/triangulation_antarctica.mat'; 18 17 triangulation='/Users/larour/ModelData/BamberDEMAntarctica1km/triangulated/triangulation_15.mat'; 19 18 radar_image='/Users/larour/ModelData/BamberDEMAntarctica1km/triangulated/radar.latlong.png'; 20 19 21 20 elseif strcmpi(md.mesh.hemisphere','n'), 22 geotiff_name_earth=['/u/astrid-r1b/ModelData/MosaicTiffRsat/amm125m_v2_200m.wgs84.tif'];23 21 radar_image_earth='/Users/larour/ModelData/TrueMarble_GeoTIFF/radar_no_greenland.png'; 22 triangulation_earth='/Users/larour/ModelData/DEM_geotiff/processed/triangulation_greenland.mat'; 24 23 triangulation='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/triangulation_15.mat'; 25 radar_image='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/radar.png'; 26 triangulation_hd='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/triangulation_2.mat'; 24 radar_image='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/radar.latlong.png'; 27 25 else 28 26 error('prepare_gl error usage: ''hemisphere'' should be set to ''s'' or ''n'''); … … 147 145 R=6371000*ones(length(x),1)+scaling_factor*surface; 148 146 149 [lat,long]=xy2ll(x,y,-1); 147 if strcmpi(md.mesh.hemisphere','s'), 148 [lat,long]=xy2ll(x,y,-1); 149 elseif strcmpi(md.mesh.hemisphere','n'), 150 [lat,long]=xy2ll(x,y,1); 151 end 150 152 151 153 x = R .* cosd(lat) .* cosd(long);
Note:
See TracChangeset
for help on using the changeset viewer.