Skip to content

Unable to execute pyHSPF model from command line #9

@DEQrshojin

Description

@DEQrshojin

I have created and successfully executed a watershed model by modifying your example pyHSPF scripts, however I am unsuccessful at executing the same model (uci and in/out wdm files) from either the command line or from within HPSF 3.0. The attached error message is given from both the command line and from HSPF 3.0. The HSPF executables I am using is are WinHspfLt.exe (from cmd line) and WinHSPF 3.0--both from Basins 4.1. The syntax I am using from the command line is "WinHspfLt.exe example.uci". I am running this locally (not on network) and the file paths are all less than 64 characters.

I do know that this works because I am able to run a different model from command line using .uci and .wdm files not created through pyHSPF.

Some of the methods to solve this have included, commenting out the out.wdm and external target lines in the uci (but got the same message) and reducing the model to its barest of bones (one HRU and one basin), but in all instances I get the same message.

Do you know of any incompatibilities between the wdms created by pyHSPF and WinHSPFLt/WinHSPF 3.0?

Thank you very much for pyHSPF, by the way, I think it’s a great tool for watershed modeling.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions