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