FMS
FMS copied to clipboard
Simplify argument lists of subroutines in `get_grid_version_mod`
Description
Remove compute domain indices from the argument lists of get_grid_version_1
and get_grid_version_2
. Query compute domain indices from mpp_domains_mod
and check the lower bounds of lon(:,:)
and lat(:,:)
at runtime.
Fixes #1371
How Has This Been Tested? Builds on the AMD box with Intel compiler version 2024.1.0.
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published in downstream modules
- [x] New check tests, if applicable, are included
- [x]
make distcheck
passes