You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we only use the rootdir as working directory. I consider here use cases where one wants to run an icon workflow with different namelists. So one would maybe run the same workflow but with different input data. In a future CI this could look like this
However thinking this through, all data can be specified as remote data, so one could just create two config files with different paths. The only files that have to be within the working directory are the namelists and we allow full modification of them through the config file. So the above example should be covered by having two config files
My view on this is actually quite opposite: I'd like that we consider the configuration as an isolated self-consistent set of text files contained in a single directory. I would argue for requiring the user to provide Sirocco with a config directory containing a sirocco.yaml file vs a config file from which we infer the rootdir and then the path to the other files that constitute the whole configuration. Essentially
The problem I see with specifying only the directory instead of the name of the config file is about how to detect the config file. Do we also require a hardcoded name like the icon namelist? Because I am not sure if we could implement an automatic detection of the yml file that does not go wrong for some cases in a way the user does not understand it.
Right now we only use the
rootdir
as working directory. I consider here use cases where one wants to run an icon workflow with different namelists. So one would maybe run the same workflow but with different input data. In a future CI this could look like thisHowever thinking this through, all data can be specified as remote data, so one could just create two config files with different paths. The only files that have to be within the working directory are the namelists and we allow full modification of them through the config file. So the above example should be covered by having two config files
I think it still could be nice to have, but since we can cover it it is not important. I mainly opened the issue to think this through once.
The text was updated successfully, but these errors were encountered: