[26740] | 1 | Index: ../trunk-jpl/src/m/classes/stochasticforcing.py
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/classes/stochasticforcing.py (revision 26673)
|
---|
| 4 | +++ ../trunk-jpl/src/m/classes/stochasticforcing.py (revision 26674)
|
---|
| 5 | @@ -134,7 +134,7 @@
|
---|
| 6 | dimensions[ind] = md.frontalforcings.num_basins
|
---|
| 7 |
|
---|
| 8 | # Scaling covariance matrix (scale column-by-column and row-by-row)
|
---|
| 9 | - scaledfields = ['DefaultCalving', 'SMBautoregression'] # list of fields that need scaling * 1/yts
|
---|
| 10 | + scaledfields = ['DefaultCalving','FloatingMeltRate','SMBautoregression'] # list of fields that need scaling * 1/yts
|
---|
| 11 | tempcovariance = np.copy(self.covariance)
|
---|
| 12 | for i in range(num_fields):
|
---|
| 13 | if self.fields[i] in scaledfields:
|
---|
| 14 | Index: ../trunk-jpl/test/NightlyRun/test543.py
|
---|
| 15 | ===================================================================
|
---|
| 16 | --- ../trunk-jpl/test/NightlyRun/test543.py (revision 26673)
|
---|
| 17 | +++ ../trunk-jpl/test/NightlyRun/test543.py (revision 26674)
|
---|
| 18 | @@ -75,8 +75,8 @@
|
---|
| 19 |
|
---|
| 20 | #Hard-coding covariance matrix because python is complaining
|
---|
| 21 | 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]])
|
---|
| 22 | -testchol = np.linalg.cholesky(covglob)
|
---|
| 23 | -print(testchol)
|
---|
| 24 | +#testchol = np.linalg.cholesky(covglob)
|
---|
| 25 | +#print(testchol)
|
---|
| 26 |
|
---|
| 27 | # Stochastic forcing
|
---|
| 28 | md.stochasticforcing.isstochasticforcing = 1
|
---|