[24307] | 1 | Index: ../trunk-jpl/test/NightlyRun/test243.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/test/NightlyRun/test243.m (revision 24192)
|
---|
| 4 | +++ ../trunk-jpl/test/NightlyRun/test243.m (revision 24193)
|
---|
| 5 | @@ -47,7 +47,7 @@
|
---|
| 6 |
|
---|
| 7 | %Fields and tolerances to track changes
|
---|
| 8 | field_names ={'SmbDz','SmbT' ,'SmbD' ,'SmbRe','SmbGdn','SmbGsp','SmbA' ,'SmbEC','SmbMassBalance','SmbMAdd','SmbDzAdd','SmbFAC','SmbMeanSHF','SmbMeanLHF','SmbMeanULW','SmbNetLW','SmbNetSW'};
|
---|
| 9 | -field_tolerances ={1e-11,1e-12,1e-11,2e-11,1e-11,1e-11,1e-12,4e-12,1e-12,1e-12,1e-12,3e-11,2e-11, 2e-11, 1e-11, 1e-9, 2e-11};
|
---|
| 10 | +field_tolerances ={1e-11,1e-12,1e-11,2e-11,1e-11,1e-11,1e-12,4e-12,1e-12,1e-12,1e-12,2e-10,2e-11, 2e-11, 1e-11, 1e-9, 2e-11};
|
---|
| 11 |
|
---|
| 12 | field_values={...
|
---|
| 13 | (md.results.TransientSolution(end).SmbDz(1,1:240)),...
|
---|
| 14 | Index: ../trunk-jpl/test/NightlyRun/test243.py
|
---|
| 15 | ===================================================================
|
---|
| 16 | --- ../trunk-jpl/test/NightlyRun/test243.py (revision 24192)
|
---|
| 17 | +++ ../trunk-jpl/test/NightlyRun/test243.py (revision 24193)
|
---|
| 18 | @@ -61,7 +61,7 @@
|
---|
| 19 |
|
---|
| 20 | #Fields and tolerances to track changes
|
---|
| 21 | field_names = ['SmbDz', 'SmbT', 'SmbD', 'SmbRe', 'SmbGdn', 'SmbGsp', 'SmbA', 'SmbEC', 'SmbMassBalance', 'SmbMAdd', 'SmbDzAdd', 'SmbFAC', 'SmbMeanSHF', 'SmbMeanLHF', 'SmbMeanULW', 'SmbNetLW', 'SmbNetSW']
|
---|
| 22 | -field_tolerances = [1e-11, 1e-12, 1e-11, 2e-11, 1e-11, 1e-11, 1e-12, 4e-12, 1e-12, 1e-12, 1e-12, 3e-11, 2e-11, 2e-11, 1e-11, 1e-9, 2e-11]
|
---|
| 23 | +field_tolerances = [1e-11, 1e-12, 1e-11, 2e-11, 1e-11, 1e-11, 1e-12, 4e-12, 1e-12, 1e-12, 1e-12, 2e-10, 2e-11, 2e-11, 1e-11, 1e-9, 2e-11]
|
---|
| 24 | #shape is different in python solution (fixed using reshape) which can cause test failure:
|
---|
| 25 | field_values = [md.results.TransientSolution[-1].SmbDz[0, 0:240].reshape(1, -1),
|
---|
| 26 | md.results.TransientSolution[-1].SmbT[0, 0:240].reshape(1, -1),
|
---|