message_ix_models.tools.iea.web.fwf_to_csv

message_ix_models.tools.iea.web.fwf_to_csv(path: Path, progress: bool = False) Path[source]

Convert the IEA fixed-width file format to CSV.

This appears to operate at about 900k lines / second, about 1 minute for the IEA 2023 .TXT files. This is faster than doing full pandas I/O, which takes 5–10 minutes depending on formats.