Help with batch processing
I'm trying to create a loop within the carbon model to test the effect of LULC changes and different carbon prices/discount rates on the value of the ES. Since I'm a beginner with python, I followed the tutorial for batch processing (https://invest.readthedocs.io/en/latest/scripting.html#creatingsamplepythonscripts) and tried to implement the examples (Example: Threshold Flow Accumulation Parameter Study, and the Example: Invoke NDR Model on a directory of Land Cover Maps) using the training data available for the NDR model (Please find attached the py scripts).
However, after run the script of the first example (where I replaced the execution call by the script provided with the loop), I got the results of only one simulation, rather than the results of 10 simulations, as referred in the example.
In the second one, I have created a folder where I put the LULC maps to test and replaced the call line (modifying the directory path). In this case, I received an error:
File "C:\Users\ASIL\Desktop\testeNDR\run2\testNDR_2.py", line 28
landcover_dir = r'C:\Users\ASIL\Work\InVEST training data\LULC'
IndentationError: unexpected indent
I would like to know what is wrong with the scripts. Thanks in advance.