-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a method to `fv3fit.reservoir.domain.RankDivider` that is used to reshape reservoir model outputs from a flat array to the original x, y, z dims. The reshaping in the function is not very intuitive to follow in the code, a more detailed breakdown of the reshaping is in [this notebook](https://github.com/ai2cm/explore/blob/master/annak/2023-05-10-hybrid-reservoir/2023-06-15-subdomain-reshaping.ipynb). The section "Breakdown of what's going on in the merge function" demonstrates what the various reshaping steps are doing. Added public API: - `RankDivider.merge_subdomains` - [x] Tests added Resolves #<github issues> [JIRA-TAG] Coverage reports (updated automatically):
- Loading branch information
Showing
4 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters