Changeset 24624
- Timestamp:
- 03/02/20 14:55:12 (5 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test247.m
r24584 r24624 1 %Test Name: SquareShelfTranIspddIsdeltaO18pdNoInterpSSA2d (1 %Test Name: SquareShelfTranIspddIsdeltaO18pdNoInterpSSA2d 2 2 md=triangle(model(),'../Exp/Square.exp',60000.); 3 3 md=setmask(md,'all',''); … … 14 14 load '../Data/delta18o.data' 15 15 md.smb.delta18o=delta18o; 16 md.smb.istemperaturescaled = 0; 17 md.smb.isprecipscaled = 0; 16 18 17 19 % creating Present day temperatures … … 23 25 md.smb = initialize(md.smb,md); 24 26 27 % creating precipitation 28 for imonth=0:11 29 md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5; 30 end 31 32 % 3 total years of input 33 md.smb.temperatures_reconstructed = nan(md.mesh.numberofvertices+1,12*3); 34 md.smb.precipitations_reconstructed = nan(md.mesh.numberofvertices+1,12*3); 35 36 md.smb.temperatures_reconstructed(1:end-1,1:12) = md.smb.temperatures_presentday(1:end,:); 37 md.smb.temperatures_reconstructed(1:end-1,13:24) = md.smb.temperatures_presentday(1:end,:)+1.2; 38 md.smb.temperatures_reconstructed(1:end-1,25:36) = md.smb.temperatures_presentday(1:end,:)-0.8; 39 40 md.smb.precipitations_reconstructed(1:end-1,1:12) = md.smb.precipitations_presentday(1:end,:); 41 md.smb.precipitations_reconstructed(1:end-1,13:24) = md.smb.precipitations_presentday(1:end,:)+0.1; 42 md.smb.precipitations_reconstructed(1:end-1,25:36) = md.smb.precipitations_presentday(1:end,:)-0.1; 43 44 tim1 = [1/12:1/12:1]; 45 46 md.smb.temperatures_reconstructed(end,1:12) = tim1; md.smb.temperatures_reconstructed(end,13:24) = tim1+3; md.smb.temperatures_reconstructed(end,25:36) = tim1+5; 47 md.smb.precipitations_reconstructed(end,1:12) = tim1; md.smb.precipitations_reconstructed(end,13:24) = tim1+3; md.smb.precipitations_reconstructed(end,25:36) = tim1+5; 48 25 49 % creating initialization and spc temperatures initialization and 26 50 % spc … … 28 52 md.initialization.temperature=md.thermal.spctemperature; %md.smb.temperatures_presentday(1:md.mesh.numberofvertices,1); 29 53 30 % creating precipitation31 for imonth=0:1132 md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;33 end34 54 35 55 md.smb.s0p = (max(md.geometry.surface,0)); … … 73 93 md.friction.pressure_adjusted_temperature = temperature - Tm; 74 94 md.friction.gamma= 5; 75 76 95 77 96 % time steps and resolution
Note:
See TracChangeset
for help on using the changeset viewer.