KTH-dESA / OSeMOSYS_step

Scripts to conduct myopic runs with OSeMOSYS models
MIT License
0 stars 2 forks source link

Function to create folder structure locally #82

Open willu47 opened 1 year ago

willu47 commented 1 year ago

To package the tool so that it can be installed locally, write a function which creates the desired folder structure in a user-defined location. For example, the command:

step create ./my_folder/my_myopic_model

would create the desired folder structure containing data scenarios, model, results and steps. A second command:

step run ./my_folder/my_myopic_model

would then run the workflow on the folder structure.

HauHe commented 6 months ago

I'm wondering if we should integrate this as a command or a function that checks if there is a folder structure at the current location, and if not create one?