Closed climbfuji closed 8 months ago
Does this work if you have 'chunked' data but only one chunk? I don't see why it shouldn't but wondered if this is something you test.
Yes, it works in that case, too. Thanks for the quick review!
@grantfirl UFS testing for this PR is complete. Can you add your final review please and merge if ok? Thanks!
Small bug fix required to use chunked arrays and retain backward compatibility with blocked data structures in
ccpp_prebuild.py
This PR is a small bug fix in order to provide backward compatibility with blocked data structures. Specifically, we need to check if the host model variable is a contiguous array (it's horizontal dimension is
CCPP_HORIZONTAL_DIMENSION
) or part of a blocked data structure (it's horizontal dimension isCCPP_HORIZONTAL_LOOP_EXTENT
).User interface changes?: No
Resolves https://github.com/NCAR/ccpp-framework/issues/539
Testing:
test
all pass; prebuild tests intest_prebuild
all passtest
al passDependencies/associated PRs:
This is part of a set of (independent) PRs: