Changeset 22868


Ignore:
Timestamp:
06/22/18 02:31:58 (7 years ago)
Author:
bdef
Message:

BUG:trying to get scipy to load properly

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

Legend:

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

    r21411 r22868  
    5050        md=solve(md,'Stressbalance')
    5151        pos=np.where(np.logical_or.reduce((md.mesh.x==0.,md.mesh.y==0.,md.mesh.x==np.max(md.mesh.x),md.mesh.y==np.max(md.mesh.y))))
    52         md.stressbalance.spcvx[pos]=md.results.StressbalanceSolution.Vx[pos]
    53         md.stressbalance.spcvy[pos]=md.results.StressbalanceSolution.Vy[pos]
     52        md.stressbalance.spcvx[pos]=md.results.StressbalanceSolution.Vx[pos][:,0]
     53        md.stressbalance.spcvy[pos]=md.results.StressbalanceSolution.Vy[pos][:,0]
    5454        md.stressbalance.vertex_pairing=np.empty((0,2),int)
    5555        md=setflowequation(md,'FS','all')
  • issm/trunk-jpl/test/NightlyRun/test243.py

    r22565 r22868  
    11#Test Name: SquareShelfSMBGemb
    22import numpy as np
    3 import scipy.io as spio
     3import scipy as sci
     4import sci.io as spio
    45from model import *
    56from socket import gethostname
     
    2526inputs = spio.loadmat('../Data/gemb_input.mat',squeeze_me=True)
    2627
    27 #setup the inputs: 
     28#setup the inputs:
    2829md.smb.Ta = np.append(np.tile(np.conjugate(inputs['Ta0']),(md.mesh.numberofelements,1)),np.conjugate([inputs['dateN']]),axis=0)
    2930md.smb.V = np.append(np.tile(np.conjugate(inputs['V0']),(md.mesh.numberofelements,1)),np.conjugate([inputs['dateN']]),axis=0)
     
    4243md.smb.requested_outputs = ['SmbDz','SmbT','SmbD','SmbRe','SmbGdn','SmbGsp','SmbEC','SmbA','SmbMassBalance','SmbMAdd','SmbDzAdd','SmbFAC']
    4344
    44 #only run smb core: 
     45#only run smb core:
    4546md.transient.isstressbalance = 0
    4647md.transient.ismasstransport = 0
    4748md.transient.isthermal = 0
    4849
    49 #time stepping: 
     50#time stepping:
    5051md.timestepping.start_time = 1965.
    5152md.timestepping.final_time = 1966.
  • issm/trunk-jpl/test/NightlyRun/test701.py

    r22864 r22868  
    11#Test Name: FlowbandFSshelf
    22import numpy as np
    3 from scipy.interpolate import interp1d
     3import scipy as sci
     4from sci.interpolate import interp1d
    45from model import *
    56from solve import *
  • issm/trunk-jpl/test/NightlyRun/test703.py

    r22864 r22868  
    11#Test Name: FlowbandFSsheetshelfTrans
    22import numpy as np
    3 from scipy.interpolate import interp1d
     3import scipy as sci
     4from sci.interpolate import interp1d
    45from model import  *
    56from setflowequation import  *
Note: See TracChangeset for help on using the changeset viewer.