Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: Uninitialized data in Kd_ePBL
- Kd_ePBL has intent(out) from the PBL routine but was being initialized by the calling routine and conditionally on whether a diagnostic is active: - Kd_ePBL is a mandatory output, no-longer conditional on the diagnostic; - initializing values by the caller is not guaranteed to work when the callee has intent(out); - ePBL was only setting values for non-land points. - The conditional initialization has been removed entirely. - ePBL now sets values on all computational points. - Addresses issue discussed in #257 where DEBUG=True was detecting NaN's in Kd_ePBL.
- Loading branch information