Changeset 24870 for issm/trunk-jpl/test/NightlyRun/test244.py
- Timestamp:
- 05/17/20 17:15:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/test/NightlyRun/test244.py ¶
r24261 r24870 73 73 74 74 #variables 75 md.qmu.variables.surface_mass_balanceC = normal_uncertain.normal_uncertain('scaled_SmbC', 1, 0.5) 75 md.qmu.variables.surface_mass_balance = normal_uncertain.normal_uncertain( 76 'descriptor', 'scaled_SmbC', 77 'mean', np.ones(md.qmu.numberofpartitions), 78 'stddev', .5 * np.ones(md.qmu.numberofpartitions), 79 'partition', md.qmu.epartition 80 ) 76 81 Tmin = 273. 77 82 telms = np.atleast_2d(np.min(md.smb.Ta[0:-1, :], 1)) … … 85 90 86 91 mint_on_partition[np.where(np.isnan(mint_on_partition))] = 10**-10 87 md.qmu.variables.surface_mass_balanceTa = uniform_uncertain.uniform_uncertain('scaled_SmbTa', 1, 0.05) 88 md.qmu.variables.surface_mass_balanceTa[0].lower = 0.95 89 md.qmu.variables.surface_mass_balanceTa[0].upper = np.maximum(np.minimum(np.maximum(1.05, mint_on_partition), 0.9999), 0.0001) 92 md.qmu.variables.surface_mass_balanceTa = uniform_uncertain.uniform_uncertain( 93 'descriptor', 'scaled_SmbTa', 94 'lower', .95 * np.ones(md.qmu.numberofpartitions), 95 'upper', np.maximum(np.minimum(np.maximum(1.05, mint_on_partition), 0.9999), 0.0001), 96 'partition', md.qmu.epartition 97 ) 90 98 91 99 #responses 92 md.qmu.responses.IceVolume = response_function.response_function(' IceVolume', [], [0.0001, 0.001, 0.01, 0.25, 0.5, 0.75, 0.99, 0.999, 0.9999])93 md.qmu.responses.IceMass = response_function.response_function(' IceMass', [], [0.0001, 0.001, 0.01, 0.25, 0.5, 0.75, 0.99, 0.999, 0.9999])94 md.qmu.responses.TotalSmb = response_function.response_function(' TotalSmb', [], [0.0001, 0.001, 0.01, 0.25, 0.5, 0.75, 0.99, 0.999, 0.9999])100 md.qmu.responses.IceVolume = response_function.response_function('descriptor','IceVolume') 101 md.qmu.responses.IceMass = response_function.response_function('descriptor','IceMass') 102 md.qmu.responses.TotalSmb = response_function.response_function('descriptor','TotalSmb') 95 103 96 104 # nond_sampling study
Note:
See TracChangeset
for help on using the changeset viewer.