Adds an optional variable (multiple_send_data) to register_diag_field, which if set to .True. it indicates that send_data is called multiple times for the same time
If that option is set to .True. the data will be buffered
If the field's mask does not change over time , the input_buffer will be added and a counter will be added. Once the code hits diag_send_complete it will divide the field by the number of times send _data is called). This will be the case for some variable in vert_diff_driver (https://gitlab.gfdl.noaa.gov/fms/atmos_phys/-/commit/e1bf0539060a4b1e9b63f0e3fbfaf65f663c6c08)
Modifies logic so that the time dimension will be written at least once. This is needed so that the combiner works for when doing regression testing.
Fixes # (issue)
How Has This Been Tested?
CI
AM4 - the river diagnostics and the vert_diff_drivers were changing answers before this update
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
Description
multiple_send_data
) to register_diag_field, which if set to .True. it indicates that send_data is called multiple times for the same timeFixes # (issue)
How Has This Been Tested? CI AM4 - the river diagnostics and the vert_diff_drivers were changing answers before this update
Checklist:
make distcheck
passes