Skip to content

Commit

Permalink
correction: add vts to additional calls and aux,naux to correct place…
Browse files Browse the repository at this point in the history
… in meta file
  • Loading branch information
ericaligo-NOAA committed May 25, 2021
1 parent e9bdebd commit 3932db1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
7 changes: 5 additions & 2 deletions physics/mp_thompson.F90
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@ subroutine mp_thompson_run(ncol, nlev, con_g, con_rd, &
ims,ime, jms,jme, kms,kme, &
its,ite, jts,jte, kts,kte

!Auxillary fields
real(kind_phys) :: vts1(1:ncol,1:nlev)

! Initialize the CCPP error handling variables
errmsg = ''
errflg = 0
Expand Down Expand Up @@ -569,7 +572,7 @@ subroutine mp_thompson_run(ncol, nlev, con_g, con_rd, &
ids=ids, ide=ide, jds=jds, jde=jde, kds=kds, kde=kde, &
ims=ims, ime=ime, jms=jms, jme=jme, kms=kms, kme=kme, &
its=its, ite=ite, jts=jts, jte=jte, kts=kts, kte=kte, &
errmsg=errmsg, errflg=errflg, reset=reset)
errmsg=errmsg, errflg=errflg, reset=reset, vts1=vts1)
else
call mp_gt_driver(qv=qv, qc=qc, qr=qr, qi=qi, qs=qs, qg=qg, ni=ni, nr=nr, &
nc=nc, nwfa=nwfa, nifa=nifa, nwfa2d=nwfa2d, nifa2d=nifa2d, &
Expand All @@ -588,7 +591,7 @@ subroutine mp_thompson_run(ncol, nlev, con_g, con_rd, &
ids=ids, ide=ide, jds=jds, jde=jde, kds=kds, kde=kde, &
ims=ims, ime=ime, jms=jms, jme=jme, kms=kms, kme=kme, &
its=its, ite=ite, jts=jts, jte=jte, kts=kts, kte=kte, &
errmsg=errmsg, errflg=errflg, reset=reset)
errmsg=errmsg, errflg=errflg, reset=reset, vts1=vts1)
end if
else
if (do_effective_radii) then
Expand Down
26 changes: 13 additions & 13 deletions physics/mp_thompson.meta
Original file line number Diff line number Diff line change
Expand Up @@ -319,19 +319,6 @@
type = integer
intent = out
optional = F
[naux3d]
standard_name = number_of_3d_auxiliary_arrays
long_name = number of 3d auxiliary arrays to output (for debugging)
units = count
dimensions = ()
type = integer
[aux3d]
standard_name = auxiliary_3d_arrays
long_name = auxiliary 3d arrays to output (for debugging)
units = none
dimensions = (horizontal_dimension,vertical_dimension,number_of_3d_auxiliary_arrays)
type = real
kind = kind_phys

########################################################################
[ccpp-arg-table]
Expand Down Expand Up @@ -705,6 +692,19 @@
type = integer
intent = out
optional = F
[naux3d]
standard_name = number_of_3d_auxiliary_arrays
long_name = number of 3d auxiliary arrays to output (for debugging)
units = count
dimensions = ()
type = integer
[aux3d]
standard_name = auxiliary_3d_arrays
long_name = auxiliary 3d arrays to output (for debugging)
units = none
dimensions = (horizontal_dimension,vertical_dimension,number_of_3d_auxiliary_arrays)
type = real
kind = kind_phys

########################################################################
[ccpp-arg-table]
Expand Down

0 comments on commit 3932db1

Please sign in to comment.