Changeset 24624


Ignore:
Timestamp:
03/02/20 14:55:12 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: use reconstructed field now

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
    22md=triangle(model(),'../Exp/Square.exp',60000.);
    33md=setmask(md,'all','');
     
    1414load '../Data/delta18o.data'
    1515md.smb.delta18o=delta18o;
     16md.smb.istemperaturescaled = 0;
     17md.smb.isprecipscaled = 0;
    1618
    1719% creating Present day  temperatures
     
    2325md.smb = initialize(md.smb,md);
    2426
     27% creating precipitation
     28for imonth=0:11
     29        md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
     30end
     31
     32% 3 total years of input
     33md.smb.temperatures_reconstructed = nan(md.mesh.numberofvertices+1,12*3);
     34md.smb.precipitations_reconstructed = nan(md.mesh.numberofvertices+1,12*3);
     35
     36md.smb.temperatures_reconstructed(1:end-1,1:12) = md.smb.temperatures_presentday(1:end,:);
     37md.smb.temperatures_reconstructed(1:end-1,13:24) = md.smb.temperatures_presentday(1:end,:)+1.2;
     38md.smb.temperatures_reconstructed(1:end-1,25:36) = md.smb.temperatures_presentday(1:end,:)-0.8;
     39
     40md.smb.precipitations_reconstructed(1:end-1,1:12) = md.smb.precipitations_presentday(1:end,:);
     41md.smb.precipitations_reconstructed(1:end-1,13:24) = md.smb.precipitations_presentday(1:end,:)+0.1;
     42md.smb.precipitations_reconstructed(1:end-1,25:36) = md.smb.precipitations_presentday(1:end,:)-0.1;
     43
     44tim1 = [1/12:1/12:1];
     45
     46md.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;
     47md.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
    2549% creating initialization and spc temperatures initialization and
    2650% spc
     
    2852md.initialization.temperature=md.thermal.spctemperature; %md.smb.temperatures_presentday(1:md.mesh.numberofvertices,1);
    2953
    30 % creating precipitation
    31 for imonth=0:11
    32         md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    33 end
    3454
    3555md.smb.s0p = (max(md.geometry.surface,0));
     
    7393md.friction.pressure_adjusted_temperature = temperature - Tm;
    7494md.friction.gamma= 5;
    75 
    7695
    7796% time steps and resolution
Note: See TracChangeset for help on using the changeset viewer.