Changes between Initial Version and Version 1 of shelf_thickness


Ignore:
Timestamp:
10/12/10 14:32:44 (15 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • shelf_thickness

    v1 v1  
     1== Matlab file ==
     2
     3%Paths to datasets
     4modeldatapath='/u/astrid-r1b/larour/ModelData';
     5thicknesspath=[modeldatapath '/ASEThickness/ASE_thickness'];
     6surfacepath=[modeldatapath '/BamberDEMAntarctica1km/surface_smooth30_lowslope'];
     7firnpath=[modeldatapath '/BroekeFirn1km/firn.mat'];
     8
     9%Read Surface and interpolate onto model
     10md.surface=InterpFromFile(md.x,md.y,surfacepath,10);
     11
     12%Correct surface using firn layerfrom Broeke
     13md.firn_layer=InterpFromFile(md.x,md.y,firnpath,0);
     14rho_ice=917;
     15rho_firn=830;
     16firn_layer_correction=md.firn_layer*(1-rho_firn/rho_ice);
     17md.surface=md.surface-firn_layer_correction;
     18
     19%Load thickness and interpolate onto model
     20load(thicknesspath);
     21md.thickness=InterpFromGridToMesh(x_m,y_m,thickness,md.x,md.y,10);
     22
     23%Correct thickness using Bamber's dem
     24md=ThicknessCorrection(md,15000);