Changeset 26744 for issm/trunk/test/NightlyRun/test243.py
- Timestamp:
- 12/22/21 10:39:44 (3 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 25837-25866,25868-25993,25995-26330,26332-26733,26736-26739,26741
- Property svn:mergeinfo changed
-
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/NightlyRun/test243.py
r25836 r26744 45 45 #smb settings 46 46 md.smb.requested_outputs = [ 47 'SmbDz', 'SmbT', 'SmbD', 'SmbRe', 'SmbGdn', 'SmbGsp', 'SmbEC', 48 'SmbA', 'SmbMassBalance', 'SmbMAdd', 'SmbDzAdd', 'SmbFAC', 'SmbMeanSHF', 'SmbMeanLHF', 49 'SmbMeanULW', 'SmbNetLW', 'SmbNetSW','SmbAccumulatedMassBalance','SmbAccumulatedRunoff', 50 'SmbAccumulatedMelt','SmbAccumulatedEC','SmbAccumulatedPrecipitation' 47 'SmbDz','SmbT','SmbD','SmbRe','SmbGdn','SmbGsp','SmbEC', 48 'SmbA','SmbMassBalance','SmbMAdd','SmbDzAdd','SmbFAC','SmbMeanSHF','SmbMeanLHF', 49 'SmbMeanULW','SmbNetLW','SmbNetSW','SmbWAdd','SmbRunoff','SmbRefreeze','SmbMelt', 50 'SmbEC','SmbPrecipitation','SmbRain','SmbAccumulatedMassBalance','SmbAccumulatedRunoff', 51 'SmbAccumulatedMelt','SmbAccumulatedEC','SmbAccumulatedPrecipitation','SmbAccumulatedRain', 52 'SmbAccumulatedPrecipitation','SmbAccumulatedRefreeze' 51 53 ] 52 54 … … 60 62 md.timestepping.final_time = 1966. 61 63 md.timestepping.time_step = 1.0 / 365 62 md.timestepping.interp_forcing s= 0.64 md.timestepping.interp_forcing = 0. 63 65 64 66 #Run transient … … 70 72 71 73 #Fields and tolerances to track changes 72 field_names = ['Layers', 'SmbDz', 'SmbT', 'SmbD', 'SmbRe', 'SmbGdn', 'SmbGsp', 'SmbA', 'SmbEC', 'SmbMassBalance', 'SmbMAdd', 'SmbDzAdd', 'SmbFAC', 'SmbMeanSHF', 'SmbMeanLHF', 'SmbMeanULW', 'SmbNetLW', 'SmbNetSW', 'SmbAccumulatedMassBalance','SmbAccumulatedRunoff','SmbAccumulatedMelt','SmbAccumulatedEC','SmbAccumulatedPrecipitation'] 73 field_tolerances = [1e-12, 2e-12, 1e-12, 1e-11, 1e-11, 2e-11, 1e-11, 1e-12, 1e-11, 1e-12, 1e-12, 1e-12, 1e-11, 2e-11, 2e-11, 1e-11, 9e-10, 2e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11] 74 field_names = ['Layers','SmbDz','SmbT','SmbD','SmbRe','SmbGdn','SmbGsp','SmbA' ,'SmbEC','SmbMassBalance','SmbMAdd','SmbDzAdd','SmbFAC','SmbMeanSHF','SmbMeanLHF','SmbMeanULW','SmbNetLW','SmbNetSW','SmbAccumulatedMassBalance','SmbAccumulatedRunoff','SmbAccumulatedMelt','SmbAccumulatedEC','SmbAccumulatedPrecipitation','SmbAccumulatedRain','SmbAccumulatedRefreeze','SmbRunoff','SmbMelt','SmbEC','SmbPrecipitation','SmbRain','SmbRefreeze','SmbWAdd'] 75 field_tolerances = [1e-12, 2e-12, 1e-12, 2e-11, 1e-11, 2e-11, 1e-11, 1e-12, 1e-11, 1e-12, 1e-12, 1e-12, 1e-11, 2e-11, 2e-11, 1e-11, 9e-10, 2e-11, 1e-11, 9e-10, 2e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11, 1e-11] 76 77 74 78 # Shape is different in python solution (fixed using reshape) which can cause test failure 75 79 field_values = [ … … 96 100 md.results.TransientSolution[-1].SmbAccumulatedMelt[0], 97 101 md.results.TransientSolution[-1].SmbAccumulatedEC[0], 98 md.results.TransientSolution[-1].SmbAccumulatedPrecipitation[0] 102 md.results.TransientSolution[-1].SmbAccumulatedPrecipitation[0], 103 md.results.TransientSolution[-1].SmbAccumulatedRain[0], 104 md.results.TransientSolution[-1].SmbAccumulatedRefreeze[0], 105 md.results.TransientSolution[199].SmbRunoff[0], 106 md.results.TransientSolution[199].SmbMelt[0], 107 md.results.TransientSolution[199].SmbEC[0], 108 md.results.TransientSolution[199].SmbPrecipitation[0], 109 md.results.TransientSolution[199].SmbRain[0], 110 md.results.TransientSolution[199].SmbRefreeze[0], 111 md.results.TransientSolution[199].SmbWAdd[0] 99 112 ]
Note:
See TracChangeset
for help on using the changeset viewer.