eWaterCycle / eWaterCycle/ewatercycle-wflow

Add more bmi variables to wflow

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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()

````python
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)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.