Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect calculation of variable cv_size_domain_jb #280
TYPE: bug fix KEYWORDS: WRFDA, control variables SOURCE: Jake Liu (NCAR MMM) DESCRIPTION OF CHANGES: Jake passed along this minor bug fix for me to commit. There is a section in da_setup_cv.inc that computes the size of the control variable arrays based on the domain size and number of control variables. The current logic incorrectly counts control variables that are not used if cloud_cv_options=1, and double-counts several control variables if cloud_cv_options=2 or 3. This fix simply removes the extra additions. This variable is not actually used anywhere right now, so this change should have no impact. But the current value is incorrect so it should be fixed. LIST OF MODIFIED FILES: M var/da/da_setup_structures/da_setup_cv.inc TESTS CONDUCTED: WRFDA Regtest passes (gnu and intel) as expected. No change in results. (cherry picked from commit d21f0db)
- Loading branch information