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
When in stand alone mode the configuration file is hardcoded in main.c as "./data/topmod.run". If running on several catchments this will cause issues.
Current behavior
When running in stand alone mode the configuration file must be located at ./data/topmod.run. If a configuration file is provided as input it is ignored and "Can't open control file named ./data/topmod.run" is printed out if the configuration file is not in that location.
Expected behavior
When the user compiles and runs topmodel in stand alone mode they should be able to provide a path and file name when running the executable, enabling different configuration files to be provided when more than one catchment is being ran via scipting.
Steps to replicate behavior (include URLs)
Compile and run topmodel in stand alone mode without the configuration file being at ./data/topmod.run
When in stand alone mode the configuration file is hardcoded in main.c as "./data/topmod.run". If running on several catchments this will cause issues.
Current behavior
When running in stand alone mode the configuration file must be located at ./data/topmod.run. If a configuration file is provided as input it is ignored and "Can't open control file named ./data/topmod.run" is printed out if the configuration file is not in that location.
Expected behavior
When the user compiles and runs topmodel in stand alone mode they should be able to provide a path and file name when running the executable, enabling different configuration files to be provided when more than one catchment is being ran via scipting.
Steps to replicate behavior (include URLs)
./extern/topmodel/topmodel/src/bmi_topmodel.c
./extern/topmodel/topmodel/src/topmodel.c -o
run_topmodel_bmi -lm
./run_topmodel_bmi ./Topmodel/topmodel_cat-12.run
The text was updated successfully, but these errors were encountered: