source: issm/oecreview/Archive/23390-24306/ISSM-23849-23850.diff

Last change on this file was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 1.8 KB
RevLine 
[24307]1Index: ../trunk-jpl/test/NightlyRun/test243.py
2===================================================================
3--- ../trunk-jpl/test/NightlyRun/test243.py (revision 23849)
4+++ ../trunk-jpl/test/NightlyRun/test243.py (revision 23850)
5@@ -61,7 +61,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, 2e-12, 1e-12, 1e-12, 1e-12, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-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, 1e-11, 2e-11, 2e-11, 1e-11, 1e-9, 2e-11]
11 #shape is different in python solution (fixed using reshape) which can cause test failure:
12 field_values = [md.results.TransientSolution[-1].SmbDz[0, 0:240].reshape(1, -1),
13 md.results.TransientSolution[-1].SmbT[0, 0:240].reshape(1, -1),
14Index: ../trunk-jpl/test/NightlyRun/test243.m
15===================================================================
16--- ../trunk-jpl/test/NightlyRun/test243.m (revision 23849)
17+++ ../trunk-jpl/test/NightlyRun/test243.m (revision 23850)
18@@ -47,7 +47,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,1e-11,1e-11,1e-11,1e-11,1e-11,1e-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,1e-11,2e-11, 2e-11, 1e-11, 1e-9, 2e-11};
24
25 field_values={...
26 (md.results.TransientSolution(end).SmbDz(1,1:240)),...
Note: See TracBrowser for help on using the repository browser.