EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE2
Warn about unrecognised columns in csv files
Open
- Dominant language
- Rust
- Stars
- 8
- Forks
- 5
- Avg merge
- 1d 2m
- Merged PRs (30d)
- 37
Description
Currently, users can put extra columns in their csv files and MUSE will just ignore them. This is fine as there may be genuine use cases for adding extra columns so we wouldn't want it to crash.
However, I think we should at least consider raising a warning. Otherwise, it's quite possible that users could misspell an optional column (e.g. "startyear" instead of "start_year") and won't realise that the column isn't being read in.
Or they might put a "years" column in `demand_slicing.csv` thinking that demand slicing can vary by year (which it can't)
Contributor guide
Assessment
This issue has not been assessed yet.