Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5d7ec2a
MERRA2 3 hourly forcing passed compilation
AnningCheng-NOAA Nov 26, 2024
d7819b2
debug mode1
AnningCheng-NOAA Nov 26, 2024
f6bc59c
debug mode2 get_niwfa
AnningCheng-NOAA Nov 26, 2024
551a172
remove debug points
AnningCheng-NOAA Dec 6, 2024
b4299c8
ENH: Add water vapor photochemistry diagnostics
DWesl Mar 5, 2025
91bc0a1
ENH: Add water vapor photochemistry diagnostics
DWesl Mar 5, 2025
9639b1a
add ccpp/physics
AnningCheng-NOAA Apr 3, 2025
5a0305c
merge to top of develop branch in fv3atm
AnningCheng-NOAA Apr 3, 2025
1e8ce4a
modify .gitmodules to mr2_hf
AnningCheng-NOAA Apr 3, 2025
d41e4a3
Ensure qv photochemistry diagnostics are only in runs with qv photoch…
DWesl Apr 8, 2025
142cf60
Merge work from DWesl/fv3atm into add-qv-photochemistry-diagnostics
DWesl Apr 8, 2025
9a676c1
Merge upstream develop into branch with required changes in CCPP-Physics
DWesl Apr 18, 2025
7c02d63
Merge upstream updates into ccpp/physics
DWesl Apr 29, 2025
9a91cf5
Merge branch 'develop' into mr2_hf
grantfirl Apr 30, 2025
c0c4384
BUG: Avoid divide-by-zero in CCPP-Physics ozone diagnostic calculations
DWesl Apr 30, 2025
40db39d
Merge CCPP-Physics updates from upstream
DWesl May 1, 2025
979b7cf
add ccpp/physics
AnningCheng-NOAA May 2, 2025
5141771
merge to top of develop branch in fv3atm
AnningCheng-NOAA May 2, 2025
0bcd012
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl May 7, 2025
b78d7cc
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl May 14, 2025
7d5e54b
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl May 19, 2025
ad224a5
Merge remote-tracking branch 'upstream/develop' into mr2_hf
AnningCheng-NOAA May 19, 2025
4a69765
BUG: Allow photochemistry schemes to have parameters at different times.
DWesl May 22, 2025
9cb40cf
Merge branch 'develop' of NOAA-EMC/fv3atm into photochemistry-index-fix
DWesl May 22, 2025
fde2c7d
STY: Move the find_photochemistry_index calls inside the conditionals.
DWesl May 22, 2025
595c8f0
Merge branch 'develop' of NOAA-EMC/fv3atm into photochemistry-index-fix
DWesl May 27, 2025
6a414fd
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl May 27, 2025
13ae73e
Merge photochemistry index fix into the photochemistry diagnostics ad…
DWesl May 28, 2025
b00bc83
Merge branch 'photochemistry-index-fix' into add-qv-photochemistry-di…
DWesl May 28, 2025
4200551
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl Jun 3, 2025
c18c018
.gitmodules and update submodule pointer to ccpp/physics
lisa-bengtsson Jun 9, 2025
5d4c046
update ccpp/physics based on review comment
lisa-bengtsson Jun 9, 2025
02b581f
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jun 13, 2025
2b4457f
update submodule pointer to ccpp/physics
lisa-bengtsson Jun 20, 2025
f1bb3eb
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jun 20, 2025
d6f4e33
Correct units in .meta files
lisa-bengtsson Jun 24, 2025
52f329a
Update submodule pointer to ccpp/physics
lisa-bengtsson Jun 25, 2025
6973ca6
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jun 25, 2025
a8dd8c1
Update submodule pointer to ccpp/physics
lisa-bengtsson Jun 30, 2025
d828b44
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jun 30, 2025
8c4b606
Update CCPP-Physics with upstream changes
DWesl Jul 3, 2025
20f0b3b
Merge branch 'develop' of NOAA-EMC/fv3atm into add-qv-photochemistry-…
DWesl Jul 3, 2025
78a1239
Correct unit in ccpp interstitial file
lisa-bengtsson Jul 9, 2025
c324d74
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jul 9, 2025
1a40f5a
update submodule pointer to ccpp
lisa-bengtsson Jul 11, 2025
813cc00
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into con…
lisa-bengtsson Jul 11, 2025
1eb5899
Merge branch 'develop' into mr2_hf
grantfirl Jul 17, 2025
4e46726
Merge branch 'add-qv-photochemistry-diagnostics' into combo_265_291
grantfirl Jul 17, 2025
2d24fec
Merge branch 'conv_dx' into combo_265_291
grantfirl Jul 17, 2025
8ab2142
Merge branch 'mr2_hf' into combo_265_291
grantfirl Jul 17, 2025
20337fd
update ccpp/physics
grantfirl Jul 17, 2025
c3380c1
physics hash update and revert changes in gitmodules
jkbk2004 Jul 21, 2025
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
22 changes: 19 additions & 3 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,10 @@ module GFS_typedefs
real (kind=kind_phys), pointer :: do3_dt_temp(:,:) => null()
real (kind=kind_phys), pointer :: do3_dt_ohoz(:,:) => null()

!--- NRL WV photochemistry diagnostics
real (kind=kind_phys), pointer :: dqv_dt_prd(:, :) => null()
real (kind=kind_phys), pointer :: dqv_dt_qvmx(:, :) => null()

contains
procedure :: create => diag_create
procedure :: rad_zero => diag_rad_zero
Expand Down Expand Up @@ -3482,7 +3486,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
integer :: iems = 0 !< 1.0 => Noah lsm
!< 2.0 => Noah MP and RUC lsms
integer :: iaer = 1 !< default aerosol effect in sw only
integer :: iaermdl = 0 !< default tropospheric aerosol model scheme flag
integer :: iaermdl = 1 !< default tropospheric aerosol model scheme flag
!< 0: seasonal global distributed OPAC aerosol climatology
!< 1: monthly global distributed GOCART aerosol climatology
!< 2: GOCART prognostic aerosol model
Expand Down Expand Up @@ -4631,8 +4635,9 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
Model%ialb = ialb
Model%iems = iems
Model%iaer = iaer
Model%iaermdl = iaer/1000
Model%iaerclm = iaerclm
if (iaer/1000 == 1 .or. Model%iccn == 2) then
if (iaer/1000 == 1 .or. Model%iccn == 2 .or. Model%iaermdl ==6 ) then
Model%iaerclm = .true.
ntrcaer = ntrcaerm
else if (iaer/1000 == 2) then
Expand All @@ -4642,7 +4647,6 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
endif
Model%lalw1bd = lalw1bd
Model%iaerflg = iaerflg
Model%iaermdl = iaermdl
Model%aeros_file = aeros_file
Model%solar_file = solar_file
Model%semis_file = semis_file
Expand Down Expand Up @@ -5629,6 +5633,10 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
call fill_dtidx(Model,dtend_select,100+Model%ntoz,Model%index_of_process_physics,.true.)
call fill_dtidx(Model,dtend_select,100+Model%ntoz,Model%index_of_process_non_physics,.true.)

call fill_dtidx(Model, dtend_select, 100+Model%ntqv,Model%index_of_process_prod_loss, h2o_phys)
call fill_dtidx(Model, dtend_select, 100+Model%ntqv,Model%index_of_process_ozmix, h2o_phys)
call fill_dtidx(Model, dtend_select, 100+Model%ntqv,Model%index_of_process_photochem, h2o_phys)

if(.not.Model%do_mynnedmf .and. .not. Model%satmedmf) then
call fill_dtidx(Model,dtend_select,100+Model%ntqv,Model%index_of_process_pbl,have_pbl)
call fill_dtidx(Model,dtend_select,100+Model%ntcw,Model%index_of_process_pbl,have_pbl)
Expand Down Expand Up @@ -7985,6 +7993,10 @@ subroutine diag_create (Diag, Model)
allocate (Diag%do3_dt_temp(IM, Model%levs))
allocate (Diag%do3_dt_ohoz(IM, Model%levs))
endif
if (Model%h2o_phys) then
allocate (Diag%dqv_dt_prd( IM, Model%levs))
allocate (Diag%dqv_dt_qvmx(IM, Model%levs))
end if
endif

! UGWP
Expand Down Expand Up @@ -8359,6 +8371,10 @@ subroutine diag_phys_zero (Diag, Model, linit, iauwindow_center)
Diag%do3_dt_temp = zero
Diag%do3_dt_ohoz = zero
endif
if (Model%h2o_phys) then
Diag%dqv_dt_prd = zero
Diag%dqv_dt_qvmx = zero
end if
endif

!
Expand Down
20 changes: 18 additions & 2 deletions ccpp/data/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
[qgrs(:,:,index_of_updraft_velocity_in_tracer_concentration_array)]
standard_name = prognostic_updraft_velocity_in_convection
long_name = convective updraft velocity
units = frac
units = Pa s-1
dimensions = (horizontal_dimension,vertical_layer_dimension)
type = real
kind = kind_phys
Expand Down Expand Up @@ -684,7 +684,7 @@
[gq0(:,:,index_of_updraft_velocity_in_tracer_concentration_array)]
standard_name = updraft_velocity_updated_by_physics
long_name = convective updraft area fraction updated by physics
units = frac
units = Pa s-1
dimensions = (horizontal_dimension,vertical_layer_dimension)
type = real
kind = kind_phys
Expand Down Expand Up @@ -9610,6 +9610,22 @@
type = real
kind = kind_phys
active = (flag_for_diagnostics_3D .and. flag_for_nrl_2015_ozone_scheme)
[dqv_dt_prd]
standard_name = water_vapor_tendency_due_to_production_and_loss_rate
long_name = water_vapor tendency due to production and loss rate
units = kg kg-1 s-1
dimensions = (horizontal_dimension,vertical_layer_dimension)
type = real
kind = kind_phys
active = (flag_for_diagnostics_3D .and. flag_for_stratospheric_water_vapor_physics)
[dqv_dt_qvmx]
standard_name = water_vapor_tendency_due_to_water_vapor_mixing_ratio
long_name = water_vapor tendency due to water_vapor mixing ratio
units = kg kg-1 s-1
dimensions = (horizontal_dimension,vertical_layer_dimension)
type = real
kind = kind_phys
active = (flag_for_diagnostics_3D .and. flag_for_stratospheric_water_vapor_physics)
[refl_10cm]
standard_name = radar_reflectivity_10cm
long_name = instantaneous refl_10cm
Expand Down