Gnats
5036: Export copy from SCT with monthly and annual slots; data jumbled.
RiverWare 6.0.1 -- 2-25-2011
Timesteps: | Vertical | Horizontal | |||
Headers: | None (ok) |
Col (PROBLEM) |
Col (ok) |
Row (ok) |
Row
and Col (ok) |
[Phil, 2-25-2011]: I was able to reproduce the problem in the SCT's vertical timestep orientation (where columns are slots). The intention is that "missing" or invalid slots (including those found in the model, but having a timestep size different from the SCT's timestep size) are skipped in the "Export Copy" operation. However, in this axis orientation, invalid-slot columns only for data rows are correctly being skipped. Invalid-slot columns for column header rows are incorrectly being included in the "Export Copy" data; (See image). I'll fix this.
[Phil, 2-26-2011]: Fixes checked in to 6.0.3 Prerel and 6.1 Builds ...
Short Description: SCT with
Und. Slots: FIX to Export Copy with Column Headers
Bug Number: 5036
Release notes (y/n): Yes (6.0.3)
For Release Nums: 6.1 and 6.0.3
Gnats 5036: Export copy from
SCT with monthly and annual slots; data jumbled.
SEE: https://cadswes2.colorado.edu/~philw/2011/bugs/5036/
With the SCT's "Export
Copy" operation in the vertical timestep orientation
(where columns are slots), "missing" or invalid slots (including slots
found in the model, but having a timestep size different from the SCT's
timestep size) are supposed to be skipped in the "Export Copy" operation.
This was occurring correctly for Data Rows, but was not occurring in Column
Header Rows.
---------------------------
QtSCT/SctView.Selection.cpp
---------------------------
FIX: In method QString SctView::getSlotTstepSetRowExportStr()
which
computes the text for ONE ROW of output (to the system clipboard), in
the iteration through columns, when processing a Column Header Row, if
the SCT is in vertical timestep orientation (where columns represent
slots), skip columns having an invalid or undefined slot-association.
(This already had been occurring
in that case when processing Data Rows.
The column exception needed to be implemented also for Column Header Rows).
---