Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions parm/fv3lam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1762,13 +1762,6 @@
<scale>4.0</scale>
</param>

<param>
<shortname>LTNG_ON_SURFACE</shortname>
<pname>LTNG</pname>
<table_info>NCEP</table_info>
<scale>1.0</scale>
</param>

<param>
<shortname>VIL_ON_ENTIRE_ATMOS</shortname>
<pname>VIL</pname>
Expand Down Expand Up @@ -3404,6 +3397,13 @@
<scale>3.0</scale>
</param>

<param>
<shortname>GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS</shortname>
<pname>LTNG</pname>
<table_info>NCEP</table_info>
<scale>4.0</scale>
</param>

<param>
<shortname>SDEN_ON_SURFACE</shortname>
<pname>SDEN</pname>
Expand Down
9 changes: 9 additions & 0 deletions parm/fv3lam_post_avblflds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5189,23 +5189,32 @@
<param>
<post_avblfldidx>702</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT1_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTGTHREAT1</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>

<param>
<post_avblfldidx>703</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT2_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTGTHREAT2</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>

<param>
<post_avblfldidx>704</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTNG</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>
Expand Down
13 changes: 6 additions & 7 deletions parm/fv3lam_rrfs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1774,13 +1774,6 @@
<scale>4.0</scale>
</param>

<param>
<shortname>LTNG_ON_SURFACE</shortname>
<pname>LTNG</pname>
<table_info>NCEP</table_info>
<scale>1.0</scale>
</param>

<param>
<shortname>VIL_ON_ENTIRE_ATMOS</shortname>
<pname>VIL</pname>
Expand Down Expand Up @@ -3612,6 +3605,12 @@
<scale>4.0</scale>
</param>

<param>
<shortname>GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS</shortname>
<pname>LTNG</pname>
<scale>3.0</scale>
</param>

<param>
<shortname>SDEN_ON_SURFACE</shortname>
<pname>SDEN</pname>
Expand Down
9 changes: 9 additions & 0 deletions parm/post_avblflds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6552,23 +6552,32 @@
<param>
<post_avblfldidx>702</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT1_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTGTHREAT1</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>

<param>
<post_avblfldidx>703</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT2_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTGTHREAT2</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>

<param>
<post_avblfldidx>704</post_avblfldidx>
<shortname>GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS</shortname>
<pdstmpl>tmpl4_8</pdstmpl>
<pname>LTNG</pname>
<table_info>NCEP</table_info>
<stats_proc>MAX</stats_proc>
<fixed_sfc1_type>entire_atmos</fixed_sfc1_type>
<scale>3.0</scale>
</param>
Expand Down
18 changes: 9 additions & 9 deletions parm/postxconfig-NT-3drtma.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3759,10 +3759,10 @@ equil_lvl
GSD_MAX_LTG_THREAT1_ON_ENTIRE_ATMOS
?
1
tmpl4_0
tmpl4_8
LTGTHREAT1
?
?
NCEP
MAX
entire_atmos
0
?
Expand Down Expand Up @@ -3796,10 +3796,10 @@ entire_atmos
GSD_MAX_LTG_THREAT2_ON_ENTIRE_ATMOS
?
1
tmpl4_0
tmpl4_8
LTGTHREAT2
?
?
NCEP
MAX
entire_atmos
0
?
Expand Down Expand Up @@ -3833,10 +3833,10 @@ entire_atmos
GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS
?
1
tmpl4_0
tmpl4_8
LTNG
?
?
NCEP
MAX
entire_atmos
0
?
Expand Down
78 changes: 39 additions & 39 deletions parm/postxconfig-NT-fv3lam.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
2
220
264
221
263
PRSLEV
32769
ncep_nco
Expand Down Expand Up @@ -9341,43 +9341,6 @@ surface
?
?
?
444
LTNG_ON_SURFACE
lightning
1
tmpl4_0
LTNG
NCEP
?
surface
0
?
0
?
?
0
?
0
?
?
?
0
0.0
0
0.0
?
0
0.0
0
0.0
1
1.0
0
0
0
?
?
?
581
VIL_ON_ENTIRE_ATMOS
entire atmosphere Vertically Integrated Liquid (kg/m-2)
Expand Down Expand Up @@ -17904,6 +17867,43 @@ surface
?
?
?
704
GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS
?
1
tmpl4_8
LTNG
NCEP
MAX
entire_atmos
0
?
0
?
?
0
?
0
?
?
?
0
0.0
0
0.0
?
0
0.0
0
0.0
1
4.0
0
0
0
?
?
?
1006
SDEN_ON_SURFACE
?
Expand Down
78 changes: 39 additions & 39 deletions parm/postxconfig-NT-fv3lam_rrfs.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
3
4
241
289
242
288
PRSLEV
32769
ncep_nco
Expand Down Expand Up @@ -9638,43 +9638,6 @@ surface
?
?
?
444
LTNG_ON_SURFACE
lightning
1
tmpl4_0
LTNG
NCEP
?
surface
0
?
0
?
?
0
?
0
?
?
?
0
0.0
0
0.0
?
0
0.0
0
0.0
1
1.0
0
0
0
?
?
?
581
VIL_ON_ENTIRE_ATMOS
entire atmosphere Vertically Integrated Liquid (kg/m-2)
Expand Down Expand Up @@ -19607,6 +19570,43 @@ top_of_atmos
?
?
?
704
GSD_MAX_LTG_THREAT3_ON_ENTIRE_ATMOS
?
1
tmpl4_8
LTNG
NCEP
MAX
entire_atmos
0
?
0
?
?
0
?
0
?
?
?
0
0.0
0
0.0
?
0
0.0
0
0.0
1
3.0
0
0
0
?
?
?
1006
SDEN_ON_SURFACE
?
Expand Down
21 changes: 20 additions & 1 deletion sorc/ncep_post.fd/INITPOST_NETCDF.f
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
!> 2022-12-07 | Wen Meng | Read AOD from AQM model
!> 2022-12-23 | Eric Aligo | Read six winter weather diagnostics from model
!> 2023-01-30 | Sam Trahan | Read cldfra or cldfra_bl, whichever is available
!> 2023-03-02 | Sam Trahan | Read lightning threat index fields
!>
!> @author Hui-Ya Chuang @date 2016-03-04
SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
Expand Down Expand Up @@ -66,7 +67,7 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
alwoutc,alwtoac,aswoutc,aswtoac,alwinc,aswinc,avgpotevp,snoavg, &
ti,aod550,du_aod550,ss_aod550,su_aod550,oc_aod550,bc_aod550,prate_max,maod,dustpm10, &
dustcb,bccb,occb,sulfcb,sscb,dustallcb,ssallcb,dustpm,sspm,pp25cb,pp10cb,no3cb,nh4cb,&
pwat, ebb, hwp, aqm_aod550
pwat, ebb, hwp, aqm_aod550, ltg1_max,ltg2_max,ltg3_max
use soil, only: sldpth, sllevel, sh2o, smc, stc
use masks, only: lmv, lmh, htm, vtm, gdlat, gdlon, dx, dy, hbm2, sm, sice
use physcons_post, only: grav => con_g, fv => con_fvirt, rgas => con_rd, &
Expand Down Expand Up @@ -1002,6 +1003,24 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
if(debugprint)print*,'sample ',VarName,' =',hwp(isa,jsa)
endif

! lightning threat index 1
VarName='ltg1_max'
call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, &
spval,VarName,ltg1_max(ista_2l,jsta_2l))
if(debugprint)print*,'sample ',VarName,' =',ltg1_max(isa,jsa)

! lightning threat index 2
VarName='ltg2_max'
call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, &
spval,VarName,ltg2_max(ista_2l,jsta_2l))
if(debugprint)print*,'sample ',VarName,' =',ltg2_max(isa,jsa)

! lightning threat index 3
VarName='ltg3_max'
call read_netcdf_2d_para(ncid2d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, &
spval,VarName,ltg3_max(ista_2l,jsta_2l))
if(debugprint)print*,'sample ',VarName,' =',ltg3_max(isa,jsa)

! surface pressure
VarName='pressfc'
call read_netcdf_2d_para(ncid3d,ista,ista_2l,iend,iend_2u,jsta,jsta_2l,jend,jend_2u, &
Expand Down
Loading