Skip to content

Commit af52b1f

Browse files
committed
Revert "Make aerosol number concentration a true optional arg."
This reverts commit 0030ddf.
1 parent a6026a2 commit af52b1f

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.fv3.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ subroutine GFS_phys_time_vary_init (
116116

117117
integer, intent(inout), optional :: jindx1_aer(:), jindx2_aer(:), iindx1_aer(:), iindx2_aer(:)
118118
real(kind_phys), intent(inout), optional :: ddy_aer(:), ddx_aer(:)
119-
real(kind_phys), intent(out) , optional :: aer_nm(:,:,:)
119+
real(kind_phys), intent(out) :: aer_nm(:,:,:)
120120
integer, intent(inout), optional :: jindx1_ci(:), jindx2_ci(:), iindx1_ci(:), iindx2_ci(:)
121121
real(kind_phys), intent(inout), optional :: ddy_ci(:), ddx_ci(:)
122122
integer, intent(inout) :: imap(:), jmap(:)
@@ -729,7 +729,7 @@ subroutine GFS_phys_time_vary_timestep_init (
729729
real(kind_phys), intent(inout) :: ozpl(:,:,:), h2opl(:,:,:)
730730
integer, intent(in), optional :: jindx1_aer(:), jindx2_aer(:), iindx1_aer(:), iindx2_aer(:)
731731
real(kind_phys), intent(in), optional :: ddy_aer(:), ddx_aer(:)
732-
real(kind_phys), intent(inout), optional :: aer_nm(:,:,:)
732+
real(kind_phys), intent(inout) :: aer_nm(:,:,:)
733733
integer, intent(in), optional :: jindx1_ci(:), jindx2_ci(:), iindx1_ci(:), iindx2_ci(:)
734734
real(kind_phys), intent(in), optional :: ddy_ci(:), ddx_ci(:)
735735
real(kind_phys), intent(inout) :: in_nm(:,:), ccn_nm(:,:)

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.fv3.meta

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@
247247
type = real
248248
kind = kind_phys
249249
intent = out
250-
optional = True
251250
[jindx1_ci]
252251
standard_name = lower_latitude_index_of_cloud_nuclei_forcing_for_interpolation
253252
long_name = interpolation low index for ice and cloud condensation nuclei in the y direction
@@ -1385,7 +1384,6 @@
13851384
type = real
13861385
kind = kind_phys
13871386
intent = inout
1388-
optional = True
13891387
[jindx1_ci]
13901388
standard_name = lower_latitude_index_of_cloud_nuclei_forcing_for_interpolation
13911389
long_name = interpolation low index for ice and cloud condensation nuclei in the y direction

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.scm.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ subroutine GFS_phys_time_vary_init (
9292
real(kind_phys), intent(in) :: h2opl(:,:,:)
9393
integer, intent(inout), optional :: jindx1_aer(:), jindx2_aer(:), iindx1_aer(:), iindx2_aer(:)
9494
real(kind_phys), intent(inout), optional :: ddy_aer(:), ddx_aer(:)
95-
real(kind_phys), intent(in) , optional :: aer_nm(:,:,:)
95+
real(kind_phys), intent(in) :: aer_nm(:,:,:)
9696
integer, intent(inout), optional :: jindx1_ci(:), jindx2_ci(:), iindx1_ci(:), iindx2_ci(:)
9797
real(kind_phys), intent(inout), optional :: ddy_ci(:), ddx_ci(:)
9898
integer, intent(inout) :: imap(:), jmap(:)
@@ -215,7 +215,7 @@ subroutine GFS_phys_time_vary_init (
215215
! Update the value of ntrcaer in aerclm_def with the value defined
216216
! in GFS_typedefs.F90 that is used to allocate the Tbd DDT.
217217
! If iaerclm is .false., then ntrcaer == 1
218-
ntrcaer = 1
218+
ntrcaer = size(aer_nm, dim=3)
219219
endif
220220

221221
!> - Call iccninterp::read_cidata() to read IN and CCN data
@@ -667,7 +667,7 @@ subroutine GFS_phys_time_vary_timestep_init (
667667
real(kind_phys), intent(inout) :: ozpl(:,:,:), h2opl(:,:,:)
668668
integer, intent(in), optional :: jindx1_aer(:), jindx2_aer(:), iindx1_aer(:), iindx2_aer(:)
669669
real(kind_phys), intent(in), optional :: ddy_aer(:), ddx_aer(:)
670-
real(kind_phys), intent(inout), optional :: aer_nm(:,:,:)
670+
real(kind_phys), intent(inout) :: aer_nm(:,:,:)
671671
integer, intent(in), optional :: jindx1_ci(:), jindx2_ci(:), iindx1_ci(:), iindx2_ci(:)
672672
real(kind_phys), intent(in), optional :: ddy_ci(:), ddx_ci(:)
673673
real(kind_phys), intent(inout) :: in_nm(:,:), ccn_nm(:,:)

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_phys_time_vary.scm.meta

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@
246246
type = real
247247
kind = kind_phys
248248
intent = in
249-
optional = True
250249
[jindx1_ci]
251250
standard_name = lower_latitude_index_of_cloud_nuclei_forcing_for_interpolation
252251
long_name = interpolation low index for ice and cloud condensation nuclei in the y direction
@@ -1377,7 +1376,6 @@
13771376
type = real
13781377
kind = kind_phys
13791378
intent = inout
1380-
optional = True
13811379
[jindx1_ci]
13821380
standard_name = lower_latitude_index_of_cloud_nuclei_forcing_for_interpolation
13831381
long_name = interpolation low index for ice and cloud condensation nuclei in the y direction

0 commit comments

Comments
 (0)