The steps to run an External Program using a Python script are similar to the above example, with a few minor changes outlined below.
The example was created using the following software and packages:
- SyncroSim version 2.4.10
- ST-Sim version 3.3.9
- Python version 3.10.6
- Python packages (Note these need to be pre-installed using conda or pip):
- pysyncrosim version 1.0.19
- pandas version 1.5.1
- numpy version 1.23.4
- rasterio version 1.3.3
You can use the same ST-Sim Library as the above example. However, you will also need to download the external program Python script example here.
Update the External Program Datasheet within the Scenario Properties to include your Python executable file and Python script.
Follow the remaining instructions above to retrieve the desired outputs.