I have 7 optional arguments in tempo version 3.
real(kind_phys), optional, intent(inout) :: nc(:,:)
real(kind_phys), optional, intent(inout) :: nwfa(:,:)
real(kind_phys), optional, intent(inout) :: nifa(:,:)
real(kind_phys), optional, intent(in ) :: nwfa2d(:)
real(kind_phys), optional, intent(in ) :: nifa2d(:)
real(kind_phys), optional, intent(inout) :: ng(:,:)
real(kind_phys), optional, intent(inout) :: volg(:,:)
The first 5 are controlled by ltaerosol and the next two are controlled by lthailaware. The two variable controlled by lthailaware are graupel number (ng) and graupel volume (volg). These are declared as optional in the meta data file as well.
When both ltaerosol are lthailaware are set to false and I add these print statements to tempo_run:
if (present(nwfa2d)) write(*,*) 'nwfa2d present'
if (present(nifa2d)) write(*,*) 'nifa2d present'
if (present(nwfa)) write(*,*) 'nwfa present'
if (present(nifa)) write(*,*) 'nifa present'
if (present(nc)) write(*,*) 'nc present'
if (present(ng)) write(*,*) 'ng present'
if (present(volg)) write(*,*) 'volg present'
i get multiple prints of 'ng present' in the log file. note that ntgnc = -99 in the log file and graupel number is not in the field table.
Here's the build location for the caps: /scratch4/BMC/wrfruc/jensen/ufs_tempo_dev/build/UFSATM/ccpp/physics
I have 7 optional arguments in tempo version 3.
The first 5 are controlled by
ltaerosoland the next two are controlled bylthailaware. The two variable controlled bylthailawareare graupel number (ng) and graupel volume (volg). These are declared as optional in the meta data file as well.When both
ltaerosolarelthailawareare set to false and I add these print statements to tempo_run:i get multiple prints of 'ng present' in the log file. note that ntgnc = -99 in the log file and graupel number is not in the field table.
Here's the build location for the caps: /scratch4/BMC/wrfruc/jensen/ufs_tempo_dev/build/UFSATM/ccpp/physics