Revert "Revert "bug fix - statistics longwave""

This reverts commit 8f6d0587ce8b462aba51c12a64de6c43310e6347.