sound-data / DEER-Prototypes-EnergyPlus

13 stars 4 forks source link

Hourly data column selection not robust #12

Open simularis opened 1 year ago

simularis commented 1 year ago

Resolution to issue #6 changed the number of columns in the hourly data files, instance-var.csv, adding a column after the last column from electric to gas. However, note that some data transformation scripts have been looking at the last column and not the column name.

https://github.com/sound-data/DEER-Prototypes-EnergyPlus/blob/142a1e4346875a8ae558666623f06f664eae95b6/scripts/data%20transformation/SFm.py#L287-L289

The pull request #11 demonstrates one way to deal with this, by selecting the hourly data column by name rather than position.