-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing soil thickness and root zone depth from outside the code #237
Comments
@MostafaGomaa93 please consider adding those variables to the config file, see config_file_template.txt instead of |
@SarahAlidoost Is there another option than the config_file? just thinking because the config file is all about the path to the data folders, and no variables are assigned in it. |
Currently variables like “Location”, “startTime” and “endTime” are also in the config_file_template. The idea of having one configuration file is to follow community standards for coupling models: a config file should be used to For stemmus_scope, it would be great to merge all configurations (IO directories) and tunable parameters ( I agree that it is better to separate directories from parameters, like by creating sections in a yaml file. However, it requires changing the format of |
Thanks for the explanation @SarahAlidoost. I indeed agree with you about having one file for all settings and parameters. In the meantime, can we do it through the BMI? if agreed, I can add these two variables to the BMI table (here). I will also make a very slight change in the source code. I already discussed the idea with @yijianzeng and he agreed. |
yes, it can be added to the BMI implementation. But the initial values of these two variables should be defined somewhere in the stemmus_scope code. |
Yes, the defalut values are already there in the code. |
The variables added to the table here are in the structure |
Notices to be considered I have done several tests in changing the total soil depth (
|
We can enrich the Config file with categories, following community standards: 'Directory Info,' 'Namelist,' etc. |
Strongly agree! |
This is linked to issues 241 |
Currently, the soil total thickness is fixed to 5 m in the
getModelSettings
(here). Same also for the depth of the root zone is fixed to 3.5 m (here). I believed that these two values can be changed from one site to another and also with different landcover, so in my opinion, it would be more convenient for the user if we can change these two values outside the code (through one of the input files).Suggestion solution
We can add these two to the sheet
input.xlsx
and the user can change them from that sheet. Then, the value will be updated in the code (here)What do you think @yijianzeng and @bobzsu? If agreed, I am willing to do this adjustment and update the code with @SarahAlidoost
The text was updated successfully, but these errors were encountered: