DHI / mikepluspy

MIKE+Py is the official python interface for MIKE+
Apache License 2.0
6 stars 1 forks source link

Example of adding multiple section discharge result specifications #26

Closed ryan-kipawa closed 3 months ago

ryan-kipawa commented 3 months ago

Example notebook showing how to add multiple section discharge result specifications.

ryan-kipawa commented 3 months ago

@wuwwen Is there a cleaner way to deal with msm_RSSGeom and m_ProjectOutput tables?

wuwwen commented 3 months ago

@wuwwen Is there a cleaner way to deal with msm_RSSGeom and m_ProjectOutput tables?

@rywm-dhi This part is quite complicated. RSSGeomTable is only used for 2D overland model. It has relationship with msm_ProjectOutput, msm_RS and msm_RSS. The process: 1. Query msm_RS based on the ModelTypeNo=(int)Eum.M2D_Overland and ContentsTypeNo=msm_ProjectOutput.ContentsTypeNo; 2. Query msm_RSS based on ResultSpecID=msm_RS.Muid; 3. Query msm_RSSGeom based on SelectionID=msm_RSS.Muid