source: issm/oecreview/Archive/25834-26739/ISSM-26673-26674.diff

Last change on this file was 26740, checked in by Mathieu Morlighem, 3 years ago

CHG: added 25834-26739

File size: 1.4 KB
  • ../trunk-jpl/src/m/classes/stochasticforcing.py

     
    134134                    dimensions[ind] = md.frontalforcings.num_basins
    135135
    136136            # Scaling covariance matrix (scale column-by-column and row-by-row)
    137             scaledfields = ['DefaultCalving', 'SMBautoregression'] # list of fields that need scaling * 1/yts
     137            scaledfields = ['DefaultCalving','FloatingMeltRate','SMBautoregression'] # list of fields that need scaling * 1/yts
    138138            tempcovariance = np.copy(self.covariance)
    139139            for i in range(num_fields):
    140140                if self.fields[i] in scaledfields:
  • ../trunk-jpl/test/NightlyRun/test543.py

     
    7575
    7676#Hard-coding covariance matrix because python is complaining
    7777covglob = np.array([[1e-4,0.,0.,0.,0.,0.],[0.,1e-4,0.,0.,0.,0.],[0.,0.,1e-2,0.,0.,0.],[0.,0.,0.,1e-1,0.,0.],[0.,0.,0.,0.,0.05,0.],[0.,0.,0.,0.,0.,0.05]])
    78 testchol = np.linalg.cholesky(covglob)
    79 print(testchol)
     78#testchol = np.linalg.cholesky(covglob)
     79#print(testchol)
    8080
    8181# Stochastic forcing
    8282md.stochasticforcing.isstochasticforcing = 1
Note: See TracBrowser for help on using the repository browser.