Closed climbfuji closed 4 years ago
Two comments:
horizontal_dimension
but the scheme has horizontal_loop_extent
(i.e., all the time for xx_run
routines).So shouldn't the host model provide both? Or are we ok with having only horizontal_dimension and use it for the _run routines when horizontal_loop_extend does not exist?
The metadata for a host model field (say temperature) has one entry. That entry uses horizontal_dimension
because that is the size of the data on the host model.
At run time, the host model will either pass the entire array, or will pass part of it in a loop (which may be threaded). In either case, the schemes interpret whatever the host model is sending as horizontal_loop_extent
. That is why capgen can make that substitution during the analysis of xx_run
scheme interfaces.
Got it, thanks for the explanation.
Correct bugfix in Metadata-standard-names.md (replace _loop_extent with _dimension)