Skip to content
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

Add more bmi variables to wflow #6

Open
sverhoeven opened this issue Oct 5, 2021 · 0 comments
Open

Add more bmi variables to wflow #6

sverhoeven opened this issue Oct 5, 2021 · 0 comments

Comments

@sverhoeven
Copy link
Member

Now RiverRunoff is exposed. It would be nice to expose more bmi variables.

See https://github.com/openstreams/wflow/blob/ad0934ed53519d7ef5793cdd12b72201dd979720/wflow/wf_DynamicFramework.py#L2672 for API config format.

See https://github.com/openstreams/wflow/blob/ad0934ed53519d7ef5793cdd12b72201dd979720/wflow/wflow_sbm.py#L666 for state variables

As workaround edit the config file generated by setup()

import ewatercycle.parametersetdb.config
cfg = ewatercycle.parametersetdb.config.CaseConfigParser()
cfg.read(pcrglob_exp_cfg_file)

cfg.set("API", "SubsurfaceFlow", "2, m/s")

with open('/mnt/home/user30/ewatercycle_output/pcrglobwb_20210830_115514/pcrglobwb_ewatercycle_test.ini', 'w') as f:
    cfg.write(f)

```
@BSchilperoort BSchilperoort transferred this issue from eWaterCycle/ewatercycle Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant