OpenCDSS / cdss-app-statecu-fortran

Colorado's Decision Support Systems (CDSS) StateCU consumptive use model code, documentation, tests
GNU General Public License v3.0
1 stars 1 forks source link

Allow response file name with our without extension #25

Closed smalers closed 3 years ago

smalers commented 3 years ago

The software would be easier to use if it accepts response file with or without extension. It would then be consistent with StateMod. Also, in the process of reviewing the code for testing, all of the stop statements in the main program need to be replaced with statements that specify an exit code so that automated testing can reliably detect when an error occurs.

smalers commented 3 years ago

I updated the code to allow the response file to have extension. I updated the main program to always exit with a code so that calling programs can check for failure. I also cleaned up the main parameter statements in the include file to be modern Fortran. Close the issue.