Ignore:
Timestamp:
02/26/20 08:01:36 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing python tests

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

Legend:

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

    r24584 r24588  
    3030# Same temperature over the all region:
    3131tmonth = np.ones(12) * (238.15 + 20.)
    32 md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
    33 md.smb.temperatures_lgm = np.zeros((md.mesh.numberofvertices + 1, 12))
     32md.smb.temperatures_presentday = np.zeros((md.mesh.numberofvertices, 12))
     33md.smb.temperatures_lgm = np.zeros((md.mesh.numberofvertices, 12))
    3434for imonth in range(0, 12):
    3535    md.smb.temperatures_presentday[0:md.mesh.numberofvertices, imonth] = tmonth[imonth]
  • issm/trunk-jpl/test/NightlyRun/test237.py

    r24585 r24588  
    4444
    4545# creating precipitation
    46 md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
    47 md.smb.precipitations_lgm = np.zeros((md.mesh.numberofvertices + 1, 12))
     46md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices, 12))
     47md.smb.precipitations_lgm = np.zeros((md.mesh.numberofvertices, 12))
    4848for imonth in range(0, 12):
    4949    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
  • issm/trunk-jpl/test/NightlyRun/test238.py

    r24585 r24588  
    3737
    3838# creating precipitation
    39 md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices + 1, 12))
     39md.smb.precipitations_presentday = np.zeros((md.mesh.numberofvertices, 12))
    4040for imonth in range(0, 12):
    4141    md.smb.precipitations_presentday[0:md.mesh.numberofvertices, imonth] = -0.4 * 10**(-6) * md.mesh.y + 0.5
Note: See TracChangeset for help on using the changeset viewer.