CCPP SciDoc  v6.0.0
Common Community Physics Package Developed at DTC

◆ ozphys_2015_run()

subroutine ozphys_2015::ozphys_2015_run ( integer, intent(in)  im,
integer, intent(in)  levs,
integer, intent(in)  ko3,
real(kind=kind_phys), intent(in)  dt,
real(kind=kind_phys), dimension(im,levs), intent(inout)  oz,
real(kind=kind_phys), dimension(:,:), intent(in)  tin,
real(kind=kind_phys), dimension(:), intent(in)  po3,
real(kind=kind_phys), dimension(:,:), intent(in)  prsl,
real(kind=kind_phys), dimension(:,:,:), intent(in)  prdout,
integer, intent(in)  pl_coeff,
real(kind=kind_phys), dimension(:,:), intent(in)  delp,
logical  ldiag3d,
real(kind=kind_phys), dimension(:,:,:), intent(inout)  dtend,
integer, dimension(:,:), intent(in)  dtidx,
integer, intent(in)  ntoz,
integer, intent(in)  index_of_process_prod_loss,
integer, intent(in)  index_of_process_ozmix,
integer, intent(in)  index_of_process_temp,
integer, intent(in)  index_of_process_overhead_ozone,
real(kind=kind_phys), intent(in)  con_g,
integer, intent(in)  me,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

ozphys_2015_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
levsvertical_layer_dimensionnumber of vertical layerscountinteger()in
ko3vertical_dimension_of_ozone_forcing_datanumber of vertical layers in ozone forcing datacountinteger()in
dttimestep_for_physicsphysics time stepsreal()kind_physin
ozozone_concentration_of_new_stateozone concentration updated by physicskg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
tinair_temperature_of_new_stateupdated air temperatureKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
po3natural_log_of_ozone_forcing_data_pressure_levelsnatural log of ozone forcing data pressure levels1real(ccpp_constant_one:vertical_dimension_of_ozone_forcing_data)kind_physin
prslair_pressuremid-layer pressurePareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
prdoutozone_forcingozone forcing datamixedreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_dimension_of_ozone_forcing_data, ccpp_constant_one:number_of_coefficients_in_ozone_forcing_data)kind_physin
pl_coeffnumber_of_coefficients_in_ozone_forcing_datanumber of coefficients in ozone forcing dataindexinteger()in
delpair_pressure_difference_between_midlayersdifference between mid-layer pressuresPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
ldiag3dflag_for_diagnostics_3dflag for calculating 3-D diagnostic fieldsflaglogical()in
dtendcumulative_change_of_state_variablesdiagnostic tendencies for state variablesmixedreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:cumulative_change_of_state_variables_outer_index_max)kind_physinout
dtidxcumulative_change_of_state_variables_outer_indexindex of state-variable and process in last dimension of diagnostic tendencies array AKA cumulative_change_indexindexinteger(ccpp_constant_one:number_of_tracers_plus_one_hundred, ccpp_constant_one:number_of_cumulative_change_processes)in
ntozindex_of_ozone_mixing_ratio_in_tracer_concentration_arraytracer index for ozone mixing ratioindexinteger()in
index_of_process_prod_lossindex_of_production_and_loss_process_in_cumulative_change_indexindex of production and loss effect in photochemistry process in second dimension of array cumulative change indexindexinteger()in
index_of_process_ozmixindex_of_ozone_mixing_ratio_process_in_cumulative_change_indexindex of ozone mixing ratio effect in photochemistry process in second dimension of array cumulative change indexindexinteger()in
index_of_process_tempindex_of_temperature_process_in_cumulative_change_indexindex of temperature effect in photochemistry process in second dimension of array cumulative change indexindexinteger()in
index_of_process_overhead_ozoneindex_of_overhead_process_in_cumulative_change_indexindex of overhead ozone effect in photochemistry process in second dimension of array cumulative change indexindexinteger()in
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
mempi_rankrank of the current MPI taskindexinteger()in
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

GFS ozphys_2015_run General Algorithm

  • This code assumes that both prsl and po3 are from bottom to top as are all other variables.
  • This code is specifically for NRL parameterization and climatological T and O3 are in location 5 and 6 of prdout array
    Author
    June 2015 - Shrinivas Moorthi