Run the SAMIR model

After you have run the input preparation script, created the soil and land cover datasets and created a SAMIR parameter csv file, all the necessary inputs are present to run the SAMIR model. All you need to do is run the following python script to run the model:

(modspa_pixel) /modspa_pixel$ python main_run_samir.py

Note

Depending on the size of your datasets and your machine’s specifications, this script can take some time to run. A progress bar will keep you informed on the script’s progress and operations.

Once the script is finished, the output dataset (or daframe and shapefile for the parcel mode) will be found in the output directory, in a subdirectory carrying the run_name. Plotting scripts and notebooks are located in the modspa_pixel/postprocessing/ directory.