Changeset 25375


Ignore:
Timestamp:
08/11/20 17:43:14 (5 years ago)
Author:
schlegel
Message:

CHG: update python tests for pdd melt

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

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test237.py

    r24588 r25375  
    2727# creating Present day and lgm temperatures
    2828# Same temperature over the all region:
    29 tmonth = np.ones(12) * (238.15 + 20.)
     29curve=np.sin(np.linspace(0, np.pi, 12))
     30tmonth = np.ones(12) * (238.15 + 20.) + 20.*curve
    3031md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices, 12))
    3132md.smb.temperatures_lgm = np.zeros((md.mesh.numberofvertices, 12))
     
    6364    md.smb.Tdiff[1, iint] = (float(iint)) * 20
    6465    md.smb.sealev[1, iint] = (float(iint)) * 20
     66
     67md.smb.issetpddfac=1.
     68md.smb.pddfac_snow=2.
     69md.smb.pddfac_ice=2.
    6570
    6671md.extrude(3, 1.)
  • issm/trunk-jpl/test/NightlyRun/test239.py

    r24584 r25375  
    2525# creating Present day temperatures
    2626# Same temperature over the all region:
    27 tmonth = np.ones(12) * (238.15 + 20.)
     27curve=np.sin(np.linspace(0, np.pi, 12))
     28tmonth = np.ones(12) * (238.15 + 20.) + 20.*curve
    2829md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices, 12))
    2930for imonth in range(0, 12):
     
    4546md.settings.output_frequency = 1
    4647md.timestepping.final_time = 2
     48
     49md.smb.issetpddfac = 1.
     50md.smb.pddfac_snow = 3.
     51md.smb.pddfac_ice = 3.
    4752
    4853md = setflowequation(md, 'SSA', 'all')
Note: See TracChangeset for help on using the changeset viewer.