SPHY v3.1 source code
Last updated
Last updated
The SPHY v3.1 source code can be obtained from the SPHY model website (). The source code is available as a zip-file (SPHY3.1.zip) and needs to be extracted to a folder on your hard drive. This folder can be zipped anywhere on the PC depending on where you want to keep all the model files (D:\SPHY3_1). It is important to note that do not use space in the folder names for SPHY. After unzipping the contents of the SPHY3.1 zip to a folder of your preference, installation has been completed successfully.
Open the command prompt and browse the SPHY3.1 folder where all the SPHY source codes (.py) files are copied. This can be done by copying and pasting the SPHY source code folder cd D:\SPHY3_1\ to the command prompt. Also, activate the environment by typing conda activate pcraster. The SPHY model now can be run from command line by typing python sphy.py sphy_config.cfg.