Changeset 25938
- Timestamp:
- 01/15/21 11:52:26 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/SlrGRACE/runme.m
r25937 r25938 2 2 addpath('../Data','../Functions'); 3 3 4 steps=[ 6];4 steps=[7]; 5 5 6 6 if any(steps==1) %{{{ … … 199 199 md.transient.isstressbalance=0; 200 200 md.transient.isthermal=0; 201 md.transient.isgia=1; 201 202 md.transient.isslr=1; 202 203 … … 210 211 md.verbose=verbose('111111111'); 211 212 213 md.solidearth.requested_outputs = {'Sealevel','SealevelRSL'}; 214 212 215 md=solve(md,'tr'); 213 216 … … 219 222 md = loadmodel('./Models/SlrGRACE_Transient'); 220 223 221 time = md.s lr.deltathickness(end,:);224 time = md.solidearth.surfaceload.icethicknesschange(end,:); 222 225 223 226 for tt=1:length(time) 224 gmsl(tt) = md.results.TransientSolution(tt). SealevelEustatic*1000;% GMSL rate mm/yr225 sol1(:,tt) = md.s lr.deltathickness(1:end-1,tt)*100;% ice equivalent height [cm/yr]226 sol2(:,tt) = md.results.TransientSolution(tt+1).Sealevel *1000;% mm/yr227 gmsl(tt) = md.results.TransientSolution(tt).Bslr*1000; % GMSL rate mm/yr 228 sol1(:,tt) = md.solidearth.surfaceload.icethicknesschange(1:end-1,tt)*100; % ice equivalent height [cm/yr] 229 sol2(:,tt) = md.results.TransientSolution(tt+1).SealevelRSL*1000; % mm/yr 227 230 end 228 231 sol_name = {'Change in water equivalent height [cm]', 'Relative sea-level [mm]'};
Note:
See TracChangeset
for help on using the changeset viewer.