source:
issm/oecreview/Archive/25834-26739/ISSM-26665-26666.diff
Last change on this file was 26740, checked in by , 3 years ago | |
---|---|
File size: 1.1 KB |
-
../trunk-jpl/src/m/classes/stochasticforcing.py
34 34 s += '{}\n'.format(fielddisplay(self, 'randomflag', 'whether to apply real randomness (true) or pseudo-randomness with fixed seed (false)')) 35 35 s += 'Available fields:\n' 36 36 s += ' DefaultCalving\n' 37 s += ' FloatingMeltRate\n' 37 38 s += ' SMBautoregression\n' 38 39 s += ' FrontalForcingsRignotAutoregression (thermal forcing)\n' 39 40 return s … … 57 58 # Check that covariance matrix is positive definite (this is done internally by linalg) 58 59 try: 59 60 np.linalg.cholesky(self.covariance) 60 except LinAlgError:61 except: 61 62 error('md.stochasticforcing.covariance is not positive definite') 62 63 63 64 # Check that all fields agree with the corresponding md class and if any field needs the default params
Note:
See TracBrowser
for help on using the repository browser.