CH-Earth / summa

Structure for Unifying Multiple Modeling Alternatives:
http://www.ral.ucar.edu/projects/summa
GNU General Public License v3.0
80 stars 104 forks source link

Adding optional statePath entry to file manager to facilitate file ma… #412

Closed andywood closed 4 years ago

andywood commented 4 years ago

…nagement, eg hindcasting. This was overlooked in my recent reconfiguration of the fileManager for the same purpose. This is backward compatible.

andywood commented 4 years ago

this adds needed functionality to streamline a hindcast workflow by allowing output state files to be used as input state files from the same place, and without forcing a mix of state & output files in the output file directory. It's backward compatible so it can be ignored and the current default behavior will continue.

I also renamed INPUT_PATH to FORCING_PATH to be more specific (since settings are also model inputs), and expanded SETNGS_PATH to SETTINGS_PATH for readability, since there doesn't at this point seem to be any reason to adhere to some shorter variable name length.

I spot checked this using a run with and without using statePath in the fileManager.