Skip to content

Commit 8a6f860

Browse files
committed
Merge branch 'main' into ufs-dev-pr365
2 parents 21e1da7 + 8a6cd13 commit 8a6f860

32 files changed

Lines changed: 74 additions & 64 deletions

physics/CONV/C3/cu_c3_driver.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@
288288
units = none
289289
dimensions = ()
290290
type = real
291+
kind = kind_phys
291292
intent = in
292293
[phil]
293294
standard_name = geopotential

physics/CONV/Grell_Freitas/cu_gf_driver.meta

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,6 @@
579579
type = real
580580
kind = kind_phys
581581
intent = in
582-
optional = True
583582
[do_mynnedmf]
584583
standard_name = flag_for_mellor_yamada_nakanishi_niino_pbl_scheme
585584
long_name = flag to activate MYNN-EDMF

physics/CONV/SAMF/samfdeepcnv.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@
564564
units = none
565565
dimensions = ()
566566
type = real
567+
kind = kind_phys
567568
intent = in
568569
[maxMF]
569570
standard_name = maximum_mass_flux

physics/CONV/SAMF/samfshalcnv.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@
596596
units = none
597597
dimensions = ()
598598
type = real
599+
kind = kind_phys
599600
intent = in
600601
[cat_adj_shal]
601602
standard_name = adjustment_for_convective_advection_time_for_shallow

physics/GWD/rayleigh_damp.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ subroutine rayleigh_damp_run ( &
135135
B(I,K) = DTAUX * dti
136136
C(I,K) = max((ENG0-ENG1),0.0) * hfbcpdt
137137
IF(vidx>=1) THEN
138-
dtend(i,k,vidx) = dtend(i,k,vidx) + A*dt
138+
dtend(i,k,vidx) = dtend(i,k,vidx) + A(i,k)*dt
139139
ENDIF
140140
IF(uidx>=1) THEN
141-
dtend(i,k,uidx) = dtend(i,k,uidx) + B*dt
141+
dtend(i,k,uidx) = dtend(i,k,uidx) + B(i,k)*dt
142142
ENDIF
143143
IF(tidx>=1) THEN
144-
dtend(i,k,tidx) = dtend(i,k,tidx) + C*dt
144+
dtend(i,k,tidx) = dtend(i,k,tidx) + C(i,k)*dt
145145
ENDIF
146146
ENDDO
147147
ENDDO

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rad_time_vary.scm.F90

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ subroutine GFS_rad_time_vary_timestep_init (lrseeds, rseeds,
2929

3030
! Interface variables
3131
logical, intent(in) :: lrseeds
32-
integer, intent(in) :: rseeds(:,:)
32+
integer, intent(in), optional :: rseeds(:,:)
3333
integer, intent(in) :: isubc_lw, isubc_sw, cnx, cny, isc, jsc, kdt
3434
integer, intent(in) :: imp_physics, ipsd0, ipsdlim
3535
logical, intent(in) :: lslwr, lsswr
36-
integer, intent(inout) :: icsdsw(:), icsdlw(:)
36+
integer, intent(inout), optional :: icsdsw(:), icsdlw(:)
3737
integer, intent(in) :: imap(:), jmap(:)
3838
real(kind_phys), intent(in) :: sec
39-
real(kind_phys), intent(inout) :: ps_2delt(:)
40-
real(kind_phys), intent(inout) :: ps_1delt(:)
41-
real(kind_phys), intent(inout) :: t_2delt(:,:)
42-
real(kind_phys), intent(inout) :: t_1delt(:,:)
43-
real(kind_phys), intent(inout) :: qv_2delt(:,:)
44-
real(kind_phys), intent(inout) :: qv_1delt(:,:)
39+
real(kind_phys), intent(inout), optional :: ps_2delt(:)
40+
real(kind_phys), intent(inout), optional :: ps_1delt(:)
41+
real(kind_phys), intent(inout), optional :: t_2delt(:,:)
42+
real(kind_phys), intent(inout), optional :: t_1delt(:,:)
43+
real(kind_phys), intent(inout), optional :: qv_2delt(:,:)
44+
real(kind_phys), intent(inout), optional :: qv_1delt(:,:)
4545
real(kind_phys), intent(in) :: t(:,:), qv(:,:), ps(:)
4646
character(len=*), intent(out) :: errmsg
4747
integer, intent(out) :: errflg

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_radiation_surface.meta

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
units = flag
335335
dimensions = (horizontal_loop_extent)
336336
type = integer
337-
intent = inout
337+
intent = in
338338
[alvsf]
339339
standard_name = vis_albedo_strong_cosz
340340
long_name = mean vis albedo with strong cosz dependency
@@ -390,15 +390,15 @@
390390
dimensions = (horizontal_loop_extent)
391391
type = real
392392
kind = kind_phys
393-
intent = in
393+
intent = inout
394394
[semis_ice]
395395
standard_name = surface_longwave_emissivity_over_ice
396396
long_name = surface lw emissivity in fraction over ice
397397
units = frac
398398
dimensions = (horizontal_loop_extent)
399399
type = real
400400
kind = kind_phys
401-
intent = in
401+
intent = inout
402402
[semis_wat]
403403
standard_name = surface_longwave_emissivity_over_water
404404
long_name = surface lw emissivity in fraction over water

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmg_pre.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@
567567
units = km
568568
dimensions = ()
569569
type = real
570+
kind = kind_phys
570571
intent = in
571572
[idcor]
572573
standard_name = flag_for_decorrelation_length_method

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_rrtmgp_pre.meta

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@
362362
type = real
363363
kind = kind_phys
364364
intent = inout
365-
optional = True
366365
[tsfg]
367366
standard_name = surface_ground_temperature_for_radiation
368367
long_name = surface ground temperature for radiation
@@ -517,7 +516,7 @@
517516
units = count
518517
dimensions = ()
519518
type = integer
520-
intent = inout
519+
intent = out
521520
[idxday]
522521
standard_name = daytime_points
523522
long_name = daytime points

physics/Interstitials/UFS_SCM_NEPTUNE/GFS_suite_interstitial_3.meta

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
269269
type = real
270270
kind = kind_phys
271-
intent = out
271+
intent = inout
272272
optional = True
273273
[omegain]
274274
standard_name = physics_timestep_initial_updraft_velocity
@@ -277,7 +277,7 @@
277277
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
278278
type = real
279279
kind = kind_phys
280-
intent = in
280+
intent = inout
281281
optional = True
282282
[omegaout]
283283
standard_name = updraft_velocity

0 commit comments

Comments
 (0)