Skip to content
Open
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
1 change: 1 addition & 0 deletions applications/lfric_atm/metadata/field_def_diags.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
<field id="chemistry__vo" name="vo" long_name="mass_fraction_of_vanadium_oxide_in_air" unit="kg kg-1" operation="once" grid_ref="full_level_face_grid" />
<field id="chemistry__photol_rate_jo1d" name="photol_rate_jo1d" long_name="photolysis_rate_of_ozone_to_1d_oxygen_atom" unit="s-1" grid_ref="full_level_face_grid" />
<field id="chemistry__photol_rate_jno2" name="photol_rate_jno2" long_name="photolysis_rate_of_nitrogen_dioxide" unit="s-1" grid_ref="full_level_face_grid" />
<field id="chemistry__photol_rate_jo3p" name="photol_rate_jo3p" long_name="photolysis_rate_of_ozone_to_o3p_and_o2" unit="s-1" grid_ref="full_level_face_grid" />
<!-- aerosol diagnostics -->
<field id="aerosol__murk" name="murk" long_name="simple_single_species_aerosol_murk" unit="microg kg-1" grid_ref="full_level_face_grid" />
<field id="aerosol__dust_flux" name="dust_flux" long_name="dust_emissions_flux_in_size_bins" unit="kg m-2 s-1" domain_ref="face" axis_ref="dust_divisions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ contains
type( field_type ) :: photol_rates
type( field_type ) :: photol_rate_jo1d
type( field_type ) :: photol_rate_jno2
type( field_type ) :: photol_rate_jo3p
type( field_type ) :: photol_rate_profile

! Other Photolysis driving fields - pre-set currently
Expand Down Expand Up @@ -1021,9 +1022,11 @@ contains
! Sample Rates to output; wtheta grid
call ls_rain_3d%copy_field_properties(photol_rate_jo1d)
call ls_rain_3d%copy_field_properties(photol_rate_jno2)
call ls_rain_3d%copy_field_properties(photol_rate_jo3p)

call invoke( setval_c(photol_rate_jo1d, 0.0_r_def), &
setval_c(photol_rate_jno2, 0.0_r_def) )
setval_c(photol_rate_jno2, 0.0_r_def), &
setval_c(photol_rate_jo3p, 0.0_r_def) )

! Only call photolysis if this is a chemistry timestep as photol rates
! are only used by chemistry
Expand Down Expand Up @@ -1118,6 +1121,11 @@ contains
call invoke ( photol_diags_kernel_type(photol_rate_jno2, &
jp1, &
photol_rates) )
case ('jo3b')
! jO(3P)
call invoke ( photol_diags_kernel_type(photol_rate_jo3p, &
jp1, &
photol_rates) )
end select
end do

Expand Down Expand Up @@ -1567,7 +1575,8 @@ contains
if (photol_scheme /= photol_scheme_off ) then
call photol_rate_jo1d%write_field('chemistry__photol_rate_jo1d')
call photol_rate_jno2%write_field('chemistry__photol_rate_jno2')
end if
call photol_rate_jo3p%write_field('chemistry__photol_rate_jo3p')
end if
end if ! chem_scheme_strattrop

call dms%write_field('chemistry__dms')
Expand Down
Loading