seasonal water yield code
Anybody can tell me where to find the code of the seasonal water yield code? I want to change two number in the model.I want to let the λ
=0.05(λ
=0.2 in the model)
,but, after installing, I don't know where to find the code to change. Then , I download the code ,but I can't run it successfully.

,but, after installing, I don't know where to find the code to change. Then , I download the code ,but I can't run it successfully.
Comments
File "C:\Python2711\Lib\site-packages\natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 17, in <module>
from .. import utils
ValueError: Attempted relative import in non-package
Since you want to make modifications to one of the models, you'll also need to set up a compiler so that you can install your modifications. You won't be able to use them until you install. See: http://invest.readthedocs.io/en/latest/installing.html#installing-from-source
Concretely, there are a number of issues with this script:
* To define parameters with an InVEST model, use a dictionary mapping string keys to values. Editing the docstring won't change anything.
* To run the model, you have to import the python package and call the correct execute function. Calling 'python ./path/to/seasonal_water_yield.py' won't work (You'll get the ValueError mentioned above)
There's something else worth mentioning, which is that the model doesn't have a documented lambda-image variable ... are you sure you need to edit the source code? It's kind of a lot of work to get this all up and running, especially if you aren't familiar with python development!