Skip to content

Commit

Permalink
for chgres_cube - soil parameter references in program_setup.f90, tur…
Browse files Browse the repository at this point in the history
…ned on doxygen documentation for private functions (#352)

* turned on documentation of private functions

* turned on documentation of private functions

* documentation cleanup, references for soil params

* fixed links

* fixed links

* undoing

* reapplied doc changes
  • Loading branch information
edwardhartnett committed Feb 25, 2021
1 parent cf1784c commit c1a1d29
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,13 @@ EXTRACT_ALL = NO
# be included in the documentation.
# The default value is: NO.

EXTRACT_PRIVATE = NO
EXTRACT_PRIVATE = YES

# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
# scope will be included in the documentation.
# The default value is: NO.

EXTRACT_PACKAGE = NO
EXTRACT_PACKAGE = YES

# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
# included in the documentation.
Expand Down
33 changes: 28 additions & 5 deletions sorc/chgres_cube.fd/program_setup.F90
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
!> @file
!! @brief Set up program execution
!! @brief Set up program execution.
!!
!! Set up program execution
!! This module contains code to read the setup namelist file, handle
!! the varmap file for GRIB2 data, and calculate the soil parameters.
!!
!! @author George Gayno NCEP/EMC
module program_setup
Expand Down Expand Up @@ -144,7 +145,8 @@ module program_setup

!> Reads program configuration namelist.
!!
!! @param filename the name of the configuration file (defaults to ./fort.41).
!! @param filename the name of the configuration file (defaults to
!! ./fort.41).
!! @author George Gayno NCEP/EMC
subroutine read_setup_namelist(filename)
implicit none
Expand Down Expand Up @@ -443,6 +445,27 @@ end subroutine get_var_cond
!> Driver routine to compute soil parameters for each
!! soil type. Works for Zobler and STATSGO soil categories.
!!
!! The calculations are those used in the Noah Land Surface Model. For
!! more information see <a
!! href="https://doi.org/10.1029/2002JD003296">Implementation of Noah
!! land surface model advances in the National Centers for
!! Environmental Prediction operational mesoscale Eta model</a>.
!!
!! For more details about the soil parameters/properties see <a
!! href="https://journals.ametsoc.org/view/journals/mwre/129/4/1520-0493_2001_129_0569_caalsh_2.0.co_2.xml">Coupling
!! an Advanced Land Surface–Hydrology Model with the Penn State–NCAR
!! MM5 Modeling System. Part I: Model Implementation and
!! Sensitivity</a>.
!!
!! The original source for soil properties is here:
!!
!! Cosby, B. J., G. M. Hornberger, R. B. Clapp, and T. R. Ginn, 1984:
!! <a
!! href="https://agupubs.onlinelibrary.wiley.com/doi/10.1029/WR020i006p00682">A
!! statistical exploration of the relationships of soil moisture
!! characteristics to the physical properties of soils</a>. Water
!! Resour. Res.,20, 682–690.
!!
!! @param [in] localpet ESMF local persistent execution thread
!! @author George Gayno NCEP/EMC
subroutine calc_soil_params_driver(localpet)
Expand Down Expand Up @@ -588,8 +611,8 @@ subroutine calc_soil_params_driver(localpet)

end subroutine calc_soil_params_driver

!> Compute soil parameters. Will be used to rescale soil moisture
!! differences in soil type between the input grid and target
!> Compute soil parameters. These will be used to rescale soil
!! moisture differences in soil type between the input grid and target
!! model grid.
!!
!! @param [in] num_soil_cats number of soil type categories
Expand Down

0 comments on commit c1a1d29

Please sign in to comment.