Changeset 24584


Ignore:
Timestamp:
02/25/20 16:35:52 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: now assume that we have monthly temps and precips

Location:
issm/trunk-jpl/test/NightlyRun
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/Makefile

    r14667 r24584  
    11clean:
    2         rm -rf *.tar.gz *.bin *.errlog *.outlog  *.outbin *.petsc *.queue *.toolkits *.run valgrind.log* *.bat *.lock qmu*
     2        rm -rf *.tar.gz *.bin *.errlog *.outlog  *.outbin *.petsc *.queue *.toolkits *.run valgrind.log* *.bat *.lock qmu* dakota_tabular.dat
  • issm/trunk-jpl/test/NightlyRun/test236.m

    r24298 r24584  
    2828    md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    2929    md.smb.temperatures_lgm(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1)-20.;
    30     % Time for the last line:
    31     md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    32     md.smb.temperatures_lgm(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    3330end
    3431
     
    4744    md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    4845    md.smb.precipitations_lgm(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    49     % Time for the last line:
    50     md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    51     md.smb.precipitations_lgm(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    5246end
    5347
  • issm/trunk-jpl/test/NightlyRun/test236.py

    r24298 r24584  
    3535    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
    3636    md.smb.temperatures_lgm[0:md.mesh.numberofvertices, imonth] = tmonth[imonth] - 20.
    37 # Time for the last line:
    38     md.smb.temperatures_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    39     md.smb.temperatures_lgm[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    4037
    4138# creating initialization and spc temperatures initialization and spc
     
    5350for imonth in range(0, 12):
    5451    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    55     md.smb.precipitations_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    5652    md.smb.precipitations_lgm[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    57     md.smb.precipitations_lgm[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    5853
    5954# Interpolation factors
  • issm/trunk-jpl/test/NightlyRun/test237.m

    r24298 r24584  
    2222    md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    2323    md.smb.temperatures_lgm(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1)-20.;
    24     % Time for the last line:
    25     md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    26     md.smb.temperatures_lgm(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    2724end
    2825
     
    4037    md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    4138    md.smb.precipitations_lgm(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    42     % Time for the last line:
    43     md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    44     md.smb.precipitations_lgm(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    4539end
    4640
  • issm/trunk-jpl/test/NightlyRun/test237.py

    r24298 r24584  
    3333    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
    3434    md.smb.temperatures_lgm[0:md.mesh.numberofvertices, imonth] = tmonth[imonth] - 20.
    35 # Time for the last line:
    36     md.smb.temperatures_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    37     md.smb.temperatures_lgm[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    3835
    3936# creating initialization and spc temperatures initialization and spc
     
    5148for imonth in range(0, 12):
    5249    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    53     md.smb.precipitations_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    5450    md.smb.precipitations_lgm[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    55     md.smb.precipitations_lgm[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    5651
    5752fsize = int(md.timestepping.final_time / md.timestepping.time_step) + 2
  • issm/trunk-jpl/test/NightlyRun/test238.m

    r24298 r24584  
    2222for imonth=0:11
    2323    md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    24     % Time for the last line:
    25     md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    2624end
    2725
     
    3432for imonth=0:11
    3533    md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    36     % Time for the last line:
    37     md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    3834end
    3935md.smb = initialize(md.smb,md);
  • issm/trunk-jpl/test/NightlyRun/test238.py

    r24298 r24584  
    2929for imonth in range(0, 12):
    3030    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
    31 # Time for the last line:
    32     md.smb.temperatures_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    3331
    3432# creating initialization and spc temperatures initialization and spc
     
    4240for imonth in range(0, 12):
    4341    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    44     md.smb.precipitations_presentday[md.mesh.numberofvertices, imonth] = (float(imonth) / 12.)
    4542
    4643# time steps and resolution
  • issm/trunk-jpl/test/NightlyRun/test239.m

    r24298 r24584  
    2222for imonth=0:11
    2323    md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    24     % Time for the last line:
    25     md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    2624end
    2725
     
    3533for imonth=0:11
    3634    md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    37     % Time for the last line:
    38     md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    3935end
    4036md.smb = initialize(md.smb,md);
  • issm/trunk-jpl/test/NightlyRun/test239.py

    r24298 r24584  
    2626# Same temperature over the all region:
    2727tmonth = np.ones(12) * (238.15 + 20.)
    28 md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
     28md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices, 12))
    2929for imonth in range(0, 12):
    3030    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
    31 # Time for the last line:
    32     md.smb.temperatures_presentday[md.mesh.numberofvertices, imonth] = (float(imonth) / 12.)
    3331
    3432# creating initialization and spc temperatures initialization and spc
     
    3937
    4038# creating precipitation
    41 md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
     39md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices, 12))
    4240for imonth in range(0, 12):
    4341    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    44     md.smb.precipitations_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    4542
    4643# time steps and resolution
  • issm/trunk-jpl/test/NightlyRun/test240.m

    r24298 r24584  
    2222for imonth=0:11
    2323    md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    24     % Time for the last line:
    25     md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    2624end
    2725md.smb = initialize(md.smb,md);
     
    3533for imonth=0:11
    3634    md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    37     % Time for the last line:
    38     md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    3935end
    4036
  • issm/trunk-jpl/test/NightlyRun/test240.py

    r24298 r24584  
    2626# Same temperature over the all region:
    2727tmonth = np.ones(12) * (238.15 + 20.)
    28 md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
     28md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices, 12))
    2929for imonth in range(0, 12):
    3030    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
    31 # Time for the last line:
    32     md.smb.temperatures_presentday[md.mesh.numberofvertices, imonth] = (float(imonth) / 12.)
    3331
    3432# creating initialization and spc temperatures initialization and spc
     
    3937
    4038# creating precipitation
    41 md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
     39md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices, 12))
    4240for imonth in range(0, 12):
    4341    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
    44     md.smb.precipitations_presentday[md.mesh.numberofvertices, imonth] = ((float(imonth) + 1.) / 12.)
    4542
    4643# time steps and resolution
  • issm/trunk-jpl/test/NightlyRun/test247.m

    r24568 r24584  
    2020for imonth=0:11
    2121        md.smb.temperatures_presentday(1:md.mesh.numberofvertices,imonth+1)=tmonth(imonth+1);
    22         % Time for the last line:
    23         md.smb.temperatures_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    2422end
    2523md.smb = initialize(md.smb,md);
     
    3331for imonth=0:11
    3432        md.smb.precipitations_presentday(1:md.mesh.numberofvertices,imonth+1)=-0.4*10^(-6)*md.mesh.y+0.5;
    35         % Time for the last line:
    36         md.smb.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    3733end
    3834
Note: See TracChangeset for help on using the changeset viewer.