APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
130 stars 160 forks source link

User defined output directory #9150

Open lie112 opened 1 month ago

lie112 commented 1 month ago

Describe the new feature

It would be great to be able to specify an output folder that is created below the folder containing the apsimx file where all output files are written. By default this could be blank and provide business as usual. All graphs etc would need to know about this folder structure to locate db files and a method to return this path would be useful for developers.
I'm not sure if this is an APSIM UI setting or a Simulations/Simulation Model setting. This feature would clean up simulation files and separate output (including temp sqlite files) from the critical setup and input files and allow for streamlined version control of apsimx simulation files as the gitignore file could ignore the content of all folders named "Output" or the like.

BrianCollinss commented 1 month ago

Does it need to be "created below the folder containing the apsimx file"? Perhaps users should determine where to create this folder.

lie112 commented 1 month ago

defining full path for the files would be useful as long as relative paths also work \Output would assume structure from the current working directory.