source:
issm/oecreview/Archive/25834-26739/ISSM-26673-26674.diff
Last change on this file was 26740, checked in by , 3 years ago | |
---|---|
File size: 1.4 KB |
-
../trunk-jpl/src/m/classes/stochasticforcing.py
134 134 dimensions[ind] = md.frontalforcings.num_basins 135 135 136 136 # Scaling covariance matrix (scale column-by-column and row-by-row) 137 scaledfields = ['DefaultCalving', 137 scaledfields = ['DefaultCalving','FloatingMeltRate','SMBautoregression'] # list of fields that need scaling * 1/yts 138 138 tempcovariance = np.copy(self.covariance) 139 139 for i in range(num_fields): 140 140 if self.fields[i] in scaledfields: -
../trunk-jpl/test/NightlyRun/test543.py
75 75 76 76 #Hard-coding covariance matrix because python is complaining 77 77 covglob = 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) 80 80 81 81 # Stochastic forcing 82 82 md.stochasticforcing.isstochasticforcing = 1
Note:
See TracBrowser
for help on using the repository browser.