edoddridge / aronnax

An idealised isopycnal model that can be run either with n+1/2 layers, or with n layers and variable bathymetry.
http://aronnax.readthedocs.io/en/latest/
MIT License
24 stars 5 forks source link

Do we want to allow command-line overriding of parameters from `parameters.in`? #62

Closed axch closed 7 years ago

axch commented 7 years ago

Then the semantics of parameters.in becomes that it's the default configuration, and command-line arguments take precedence.

Considerations:

For the sake of reproducibility, would want the program to dump its full configuration to a human- and machine-readable file.

This becomes more useful in conjunction with automatically computing the gridded input files from resolution-dependent sources, so that the model resolution can be easily varied.

edoddridge commented 7 years ago

I can see this could be useful, but how much value do you think it adds beyond us providing an example python script that automatically edits and creates a bunch of parameters.in files in appropriate directories?

axch commented 7 years ago

If I do this at all, I was thinking of making it be a feature of the Python wrapper program rather than the Fortran core. In that case, much of the content of example vs implementation will be the same.

axch commented 7 years ago

Also agreed that this is not very high priority.