From 83d9d1913182f02a6c62ffa591a8337102391e6e Mon Sep 17 00:00:00 2001 From: KarinaAsmar-NOAA Date: Thu, 2 Jan 2025 11:41:36 +0000 Subject: [PATCH] fixes: restore err=0, pval initialized, fix psi-to-chi typo --- sorc/ncep_post.fd/UPP_PHYSICS.f | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sorc/ncep_post.fd/UPP_PHYSICS.f b/sorc/ncep_post.fd/UPP_PHYSICS.f index bc52e99a3..b423abfc6 100644 --- a/sorc/ncep_post.fd/UPP_PHYSICS.f +++ b/sorc/ncep_post.fd/UPP_PHYSICS.f @@ -4886,9 +4886,11 @@ SUBROUTINE CALCHIPSI (UWND,VWND,CHI,PSI) do jj=1,300 call exch(psi(ista_2l:iend_2u,jsta_2l:jend_2u)) ptmp=psi + err=0 do j=jsta,jend do i=ista,iend if (j>1 .and. j1 .and. j