osemosys_global icon indicating copy to clipboard operation
osemosys_global copied to clipboard

[FEATURE]: Manage file handeling through Snakemake

Open trevorb1 opened this issue 1 year ago • 0 comments

Idea

I made the ConfigPath class a long time ago to help manage file paths. Honestly, it kinda sucks; its a hassle to structure the modules correctly and couples the file paths to read/write data to the logic processing functions. I think we should axe the ConfigPath and ConfigFile configuration classes.

Is your feature related to a bug?

No response

Suggested Soltuion

We can do all file and parameter management through Snakemake. For examples, PyPSA Europe has done this quite nicely. Moreover, their utility function to debug these files is quite helpful.

https://github.com/PyPSA/pypsa-eur/blob/a9ac68b50e837a0365e6eb3e66d57f433dfb6804/scripts/_helpers.py#L235-L339

Additional Info

No response

trevorb1 avatar Jan 22 '24 23:01 trevorb1