Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct dimensions of delz in two diagnostic routines #27

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/fv_diagnostics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ subroutine fv_diag(Atm, zvir, Time, print_freq)
isc, iec, jsc, jec, 0, npz, 1.)
call prt_maxmin('Bottom DZ (m)', Atm(n)%delz(isc:iec,jsc:jec,npz), &
isc, iec, jsc, jec, 0, 1, 1.)
! call prt_maxmin('Top DZ (m)', Atm(n)%delz(isc:iec,jsc:jec,1), &
! call prt_maxmin('Top DZ (m)', Atm(n)%delz(is:ie,js:jec,1), &
! isc, iec, jsc, jec, 0, 1, 1.)
endif

Expand Down Expand Up @@ -5572,7 +5572,7 @@ subroutine max_vorticity(is, ie, js, je, ng, km, zvir, sphum, delz, q, hydrostat
real, intent(in):: grav, zvir, z_bot, z_top
real, intent(in), dimension(is-ng:ie+ng,js-ng:je+ng,km):: pt
real, intent(in), dimension(is:ie,js:je,km):: vort
real, intent(in):: delz(is-ng:ie+ng,js-ng:je+ng,km)
real, intent(in):: delz(is:ie,js:je,km)
real, intent(in):: q(is-ng:ie+ng,js-ng:je+ng,km,*)
real, intent(in):: phis(is-ng:ie+ng,js-ng:je+ng)
real, intent(in):: peln(is:ie,km+1,js:je)
Expand Down Expand Up @@ -5630,7 +5630,7 @@ subroutine max_uh(is, ie, js, je, ng, km, zvir, sphum, uphmax,uphmin, &
real, intent(in):: grav, zvir, z_bot, z_top
real, intent(in), dimension(is-ng:ie+ng,js-ng:je+ng,km):: pt, w
real, intent(in), dimension(is:ie,js:je,km):: vort
real, intent(in):: delz(is-ng:ie+ng,js-ng:je+ng,km)
real, intent(in):: delz(is:ie,js:je,km)
real, intent(in):: q(is-ng:ie+ng,js-ng:je+ng,km,*)
real, intent(in):: phis(is-ng:ie+ng,js-ng:je+ng)
real, intent(in):: peln(is:ie,km+1,js:je)
Expand Down