Time Agg Series Slot Config: Skip intervals containing NaNs [6036] [6] Bug Number: n/a Release notes (y/n): Yes (see doc) For Release Nums: 7.2 These three slot aggregation functions ... (1) The "Set Run Timestep" script action's "Aggregate Input Data to New Timestep" function. (2) The Run Control dialog's "Synchronize Slots with Run Parameters" function. (3) The Time Aggregation Series Slot. ... now provide these three options for handling NaNs (or NaNs and Output values). The 2nd option is new, added to address a new requirement identified in Gnats 6036. (a) Ignore NaN/Output values (b) Do not aggregate intervals having NaN/Ouptut values (c) Error on NaN (excluding pre-simulation timesteps) These are presented instead as follows for the Time Aggregation Series Slot configuration (where the special value handling applies to only NaNs, not output values). This is because these special slots are intended to aggregate RESULTS of a run -- not just Inputs. (a) Ignore NaNs (b) Do not aggregate intervals having NaNs (c) Error on NaN (excluding pre-simulation timesteps) See this document: Set Timestep Size, Synchronize Slots, New NaN Option for RiverWare 7.2 / Dec 2017 R:\doc\runControl\InputAggregation\SetTstepSize-SyncSlotsNanOptions-RW72-Enh.docx http://cadswes2.colorado.edu/~philw/2017/bugs/6036/SetTstepSize-SyncSlotsNanOptions-RW72-Enh.html --- This commit includes a new mechanism to allow revision of rwEnumSetting option text used in Scripts. This was applied to the previously implemented "Aggregate NaN Handling" options in the Set Run Timestep script action. The new rwScript::Action::repairSettingValues() method contains Script Action Type cases for only those requiring option text fixup. As stated above, this applies to only the Set Run Timestep script action. // Note: Script Action rwSetting value fixup methods are defined for // particular script action types ONLY AS NEEDED. These return descriptions // of applied changes, or an empty string list if no change is made. QStringList repairSettValues_SetRunTimestep(); This commit also includes some maintenance on rwSetting "prototype setting" methods. 'const' has been added to prototype setting parameters in several methods. Some related diagnostic provisions (facilitating easier debugging) were applied to method: rwScript::Action::repairFromPrototype(), which is effectively a sibling of the new repairSettingValues() method. ---