-
Notifications
You must be signed in to change notification settings - Fork 9
[in3,com8,ana3] Add multi-layer result support; breaking change in com8 #1236
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
base: master
Are you sure you want to change the base?
Conversation
…t in filename parsing and data handling - `fileHandlerUtils.makeSimFromResDF` handle multi-layer result files with layer-suffixed column names. - Updated `cfgUtils.parseSimName` to recognize and parse layer components (`L1`, `L2`, etc.) in filenames.
…g logic - Introduced `layers` configuration for specifying simulation output layers (L1: dense flow, L2: powder snow). - Added `copyRawToLayerPeakFiles` function
- Introduced `runoutLayer` configuration for multi-layer analysis in `ana3AIMECCfg.ini`. - Updated `checkAIMECinputs` to resolve base resType names to layer-suffixed columns. - Refactored functions and logic to error out if multi-layer data is detected without a `runoutLayer`.
❌ 2 blocking issues (4 total)
@qltysh one-click actions:
|
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Files with Diff Coverage (6)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
| c=cmap3.to_rgba(cmapVal), | ||
| label=resAnalysisRow[varParList[0]], | ||
| ) | ||
| else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| baseRunoutResType = inputs.get('baseRunoutResType', runoutResType) | ||
| displayRunoutResType = inputs.get('displayRunoutResType', runoutResType) | ||
| unit = pU.cfgPlotUtils['unit' + baseRunoutResType] | ||
| name = pU.cfgPlotUtils['name' + baseRunoutResType] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added support for resolving base `resType` to layer-suffixed columns in multi-layer simulations using the new `resolveResTypeColumn` function. - Introduced `computeBaseResTypeList` to validate and compute base `resType` names available for all simulations. - Updated `checkAIMECinputs` function to handle both single-layer and multi-layer simulations, with input validation and error handling when `runoutLayer` is not configured.
| continue | ||
| outAimec.plotMaxValuesComp(pathDict, resAnalysisDF, compResType, compResType2, | ||
| hue=cfgPlots['scenarioName']) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Breaking change:
com8MoTPSA output filenames changed. Previously they used the dfa/psa modelType workaround, now they use L1/L2
layer naming. Anyone with existing com8MoTPSA results or scripts that parse the old filenames will be affected.