Skip to content

Commit

Permalink
In physics/Interstitials/UFS_SCM_NEPTUNE/maximum_hourly_diagnostics.F…
Browse files Browse the repository at this point in the history
…90, scale lightning threat from flashes per 5 minutes to flashes per minute to match units in metadata
  • Loading branch information
climbfuji committed Mar 8, 2024
1 parent e1db7f2 commit 26f9514
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ subroutine maximum_hourly_diagnostics_run(im, levs, reset, lradar, imp_physics,
!Lightning threat indices
if (lightning_threat) then
call lightning_threat_indices
! Lightning threat indices are calculated as flashes per 5 minutes.
! In order to scale that to flashes per minute (standard units),
! we must divide the indices by a factor of 5 / multiply by 0.2
ltg1_max = 0.2_kind_phys * ltg1_max
ltg2_max = 0.2_kind_phys * ltg2_max
ltg3_max = 0.2_kind_phys * ltg3_max
endif

!Calculate hourly max 1-km agl and -10C reflectivity
Expand Down

0 comments on commit 26f9514

Please sign in to comment.