Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop]: Add Doxygen variable definitions to modules #965

Merged
merged 109 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
90f0c7d
rm extra '='; chg docs to doc
Mar 19, 2024
89f1b75
change docs to doc
gspetro-NOAA Mar 19, 2024
04bd05b
add 5 VRBLS2D defs
gspetro-NOAA Mar 19, 2024
a2c8182
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
gspetro-NOAA Mar 19, 2024
8493004
describe module for 2D, 3D, and 4D vars
Mar 19, 2024
4ae6656
draft missing module definitions
gspetro-NOAA Mar 26, 2024
5f7cd18
add draft of module definitions
gspetro-NOAA Mar 27, 2024
1bb1389
document additional modules (draft)
gspetro-NOAA Mar 27, 2024
684f5b5
draft of missing values in modules
gspetro-NOAA Mar 27, 2024
34ea7a6
draft var/func defns for GFIP3 & grib2_module
gspetro-NOAA Mar 28, 2024
418d425
comment out unsupported Doxyfile.in tags
gspetro-NOAA Mar 28, 2024
a108924
update xml_perl_data.f docs
gspetro-NOAA Mar 28, 2024
3f65244
update wrf_io_flags.f docs
gspetro-NOAA Mar 28, 2024
64cbda4
update VRBLS4D_mod.f docs
gspetro-NOAA Mar 28, 2024
7630fb6
update several 3D vars
gspetro-NOAA Mar 29, 2024
d34ee99
3D var updates
gspetro-NOAA Apr 2, 2024
498fbf4
format 2D vars module
gspetro-NOAA Apr 2, 2024
40c8d1c
format docs for physcons.f
gspetro-NOAA Apr 2, 2024
8d37896
format/add docs for SOIL_mod
gspetro-NOAA Apr 2, 2024
855a314
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
jdkublnick Apr 3, 2024
f05b228
update format in RQSTFLD, cuparm, grib2_module
gspetro-NOAA Apr 3, 2024
f4ec337
Updated variables in VRBLS_mod.f files
jdkublnick Apr 3, 2024
916dfeb
format params.f
gspetro-NOAA Apr 4, 2024
7643613
Merge Josh's VRBLS module updates into text/us-28
gspetro-NOAA Apr 4, 2024
c36ee8f
Updated MASKS_mod.f variables
jdkublnick Apr 4, 2024
4f99ecb
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
jdkublnick Apr 4, 2024
a27a7b6
Defined some more missing variables
jdkublnick Apr 5, 2024
0e1de9d
update params.F
gspetro-NOAA Apr 8, 2024
17eb67c
update params.f
gspetro-NOAA Apr 9, 2024
006ff2c
Merge branch 'develop' of https://github.com/NOAA-EMC/UPP into text/u…
gspetro-NOAA Apr 9, 2024
cb22439
Merge Josh's work into text/us-28
gspetro-NOAA Apr 9, 2024
4c9dcc0
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
jdkublnick Apr 12, 2024
8a98ba7
Merge branch 'develop' of https://github.com/NOAA-EMC/UPP into text/u…
gspetro-NOAA Apr 15, 2024
0990bfb
Updated Variables in CMASSI.F and intio_tags.f
jdkublnick Apr 15, 2024
b8a0f6d
Merge josh's work into text/us-28
gspetro-NOAA Apr 15, 2024
efd8e7e
Resolved warnings in all modules listed in this commit
jdkublnick Apr 16, 2024
9727b5a
Fixing something dumb I did in intio_tags.f last commit
jdkublnick Apr 16, 2024
d100c6a
Edited and added some definitions for variables
jdkublnick Apr 17, 2024
549cfee
Merge josh's branch into text/us-28
gspetro-NOAA Apr 19, 2024
7f1c42a
fix Doxyfile.in @ signs
gspetro-NOAA Apr 23, 2024
c8591c4
merge in develop; minor misc updates
gspetro-NOAA Apr 23, 2024
6126197
CMASSI reformat
gspetro-NOAA Apr 23, 2024
255fb49
CMASSI update
gspetro-NOAA Apr 23, 2024
6728200
update CMASSI, CTLBLK, params
gspetro-NOAA Apr 25, 2024
7d3ad00
restore NFCST,NBC,LIST,IOUT,NTSTM var section in CTLBLK
gspetro-NOAA Apr 26, 2024
2749a21
misc edits
gspetro-NOAA Apr 29, 2024
5a976fd
update LOOKUP.f
gspetro-NOAA Apr 30, 2024
24e5d5f
updates to MASKS_mod and LOOKUP
gspetro-NOAA Apr 30, 2024
ce842de
update to HEAD of develop
gspetro-NOAA Apr 30, 2024
9045220
update 2d vars
gspetro-NOAA Apr 30, 2024
f773737
update more 2D vars
gspetro-NOAA May 1, 2024
ee5cbad
RHGRD.f update
gspetro-NOAA May 7, 2024
e07733a
CTLBLK var updates
gspetro-NOAA May 7, 2024
530169f
update more 2D vars
gspetro-NOAA May 7, 2024
11fb1b4
more 2D vars
gspetro-NOAA May 8, 2024
05773c2
more 2D vars
gspetro-NOAA May 8, 2024
3c91f84
more 2D vars
gspetro-NOAA May 9, 2024
5ca3c60
more 2D vars
gspetro-NOAA May 13, 2024
6e0a64c
resolve merge conflicts; update to HEAD of develop
May 17, 2024
875867f
uncomment sections of Doxyfile for CI/CD
May 17, 2024
295f43d
4D vars update
gspetro-NOAA May 30, 2024
faaf354
Merge branch 'NOAA-EMC:develop' into text/us-28
gspetro-NOAA May 31, 2024
03c7363
add 3d var defs
gspetro-NOAA May 31, 2024
9b766ab
update 3D vars and RQSTFLD
gspetro-NOAA Jun 3, 2024
6e51d99
3D vars update
gspetro-NOAA Jun 5, 2024
1d19d27
3D vars & typo in unified_vars table
Jun 5, 2024
d4ca54d
misc updates
gspetro-NOAA Jun 6, 2024
939c7d5
correct formatting
gspetro-NOAA Jun 6, 2024
6ae311a
add template cuparm vars
gspetro-NOAA Jun 6, 2024
befc690
add missing variables
gspetro-NOAA Jun 6, 2024
21a5064
minor edits
gspetro-NOAA Jun 6, 2024
7408e53
Doxyfile updates
gspetro-NOAA Jun 6, 2024
ab81f9b
Doxyfile updates
gspetro-NOAA Jun 6, 2024
fabf52d
doxygenize SET_LVLSXML, misc minor edits
gspetro-NOAA Jun 7, 2024
7a0fe8a
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
gspetro-NOAA Jun 7, 2024
461f9d7
rm old/unneeded comments from READ_xml.f; misc minor edits
gspetro-NOAA Jun 7, 2024
d1af0a7
misc edits
gspetro-NOAA Jun 7, 2024
5ed70b7
various minor doc edits
gspetro-NOAA Jun 7, 2024
b3aa587
update cuparm & misc others
gspetro-NOAA Jun 10, 2024
04dbf37
misc minor edits
gspetro-NOAA Jun 10, 2024
15e1feb
minor edits/formatting
gspetro-NOAA Jun 10, 2024
f92a293
reformat SET_LVLSXML
gspetro-NOAA Jun 10, 2024
a7c0afa
minor cuparm & xml_perl_data formatting
gspetro-NOAA Jun 10, 2024
f95dabe
add to xml_perl_data
gspetro-NOAA Jun 10, 2024
45c396e
rm stray xmp_perl_data comment
gspetro-NOAA Jun 10, 2024
ec6ca93
rm stray & in MASKS_mod
gspetro-NOAA Jun 10, 2024
9fc9c22
update intio_tags.f
gspetro-NOAA Jun 10, 2024
a0ac844
update svptbl.f
gspetro-NOAA Jun 10, 2024
248b4d3
update physcons.f
gspetro-NOAA Jun 10, 2024
f3b4e5b
update machine.f & misc
gspetro-NOAA Jun 10, 2024
a46869a
add back commented-out code
gspetro-NOAA Jun 17, 2024
8e43006
undo removal of commented out code
gspetro-NOAA Jun 17, 2024
882883b
update user_guide.md
gspetro-NOAA Jun 18, 2024
97bfc86
format module descriptions
gspetro-NOAA Jun 28, 2024
02a606b
update CMASSI and misc others
gspetro-NOAA Jul 1, 2024
9268a6d
Merge branch 'NOAA-EMC:develop' into text/us-28
gspetro-NOAA Jul 1, 2024
9d7a073
fix secondary phys cons
gspetro-NOAA Jul 1, 2024
9e2eb34
Merge branch 'text/us-28' of github.com:gspetro-NOAA/UPP into text/us-28
gspetro-NOAA Jul 1, 2024
162f1d8
minor formatting/updates throughout
gspetro-NOAA Jul 1, 2024
9a8a1ac
formatting
gspetro-NOAA Jul 2, 2024
5bc85df
fix formatting
gspetro-NOAA Jul 2, 2024
166571d
fix field_info
gspetro-NOAA Jul 2, 2024
2ea75fe
fix machine variables
gspetro-NOAA Jul 2, 2024
8ab0aff
comment out cuparm vars that should have been commented out
gspetro-NOAA Jul 2, 2024
83d8299
fix var defns in svptbl.f
gspetro-NOAA Jul 2, 2024
bf27de7
fix var defns in GFIP3
gspetro-NOAA Jul 2, 2024
4c1d1e6
fix typo
gspetro-NOAA Jul 2, 2024
8490516
Merge branch 'develop' into text/us-28
FernandoAndrade-NOAA Jul 8, 2024
1d95649
add hera RT log
FernandoAndrade-NOAA Jul 8, 2024
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
581 changes: 428 additions & 153 deletions doc/Doxyfile.in

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/UserGuide/tables/UFS_unified_variables_table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Particulate matter (PP10),pp10,pp10,3d,dyn,gocart_on=True
Particulate matter (PM10),pm10,pp10,3d,dyn,nasa_on=True
Dust emission fluxes (1-5),duem001/.../duem005,duem,2d,phy, all requested read into 3d array
Dust sedimentation fluxes (1-5),dust1sd/.../dust5sd,dusd,2d, phy, all requested read into 3d array
Dust dry deposition fluxes (1-5),dust1dp/.../dust5dp,dupd,2d,phy, all requested read into 3d array
Dust dry deposition fluxes (1-5),dust1dp/.../dust5dp,dudp,2d,phy, all requested read into 3d array
Dust wet deposition fluxes (1-5),dust1wtl/.../dust5wtl,duwt,2d,phy, all requested read into 3d array
Dust scavenging fluxes (1-5),dust1wtc/.../dust5wtc,dusv,2d,phy, all requested read into 3d array
Seasalt emission fluxes (1-5),ssem001/.../ssem005,ssem,2d,phy, all requested read into 3d array
Expand Down
19 changes: 16 additions & 3 deletions doc/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ products. Output from the UPP is in National Weather Service (NWS) and
World Meteorological Organization (WMO) GRIB2 format and can be used
directly by visualization, plotting, or verification packages, or for
further downstream post-processing, e.g. statistical post-processing
techniques. Examples of UPP products include:
techniques. Examples of UPP products include:

- T, Z, humidity, wind, cloud water, cloud ice, rain, and snow on pressure levels
- SLP, shelter level T, humidity, and wind fields
Expand All @@ -33,5 +33,18 @@ techniques. Examples of UPP products include:
- Radar reflectivity products
- Satellite look-alike products

Support for the UFS UPP is provided through the UFS Forum by the
Developmental Testbed Center (DTC) for FV3-based applications.
**Prerequisites**
The UPP requires certain NCEPLIBS packages to be installed via the spack-stack project. For instructions on installing these packages as a bundle via spack-stack, see: https://spack-stack.readthedocs.io/en/latest/. The UPP/modulefiles directory indicates which package versions are used and supported on Level 1 systems.

Community support for the Unified Forecast System (UFS) UPP in FV3-based applications is provided by the
Earth Prediction Innovation Center (EPIC). Community support for the UPP with WRF is no longer available.

* Support for the UFS UPP is provided through [GitHub Discussions](https://github.com/NOAA-EMC/UPP/discussions).
* The UPP User's Guide for the latest standalone public release is [UPP v11.0.0](https://upp.readthedocs.io/en/upp_v11.0.0/).
* The UPP User's Guide for develop branch is [UPP develop](https://upp.readthedocs.io/en/develop/).
* The [UPP wiki](https://github.com/NOAA-EMC/UPP/wiki) includes relevant information and links for users and developers.
* Instructions on technical code documentation are available in a set of [Doxygen Documentation Slides](https://github.com/NOAA-EMC/UPP/wiki/DoxygenDocumentation.pdf).

Code Managers: Wen Meng (EMC), Huiya Chuang (EMC), Fernando Andrade-Maldonado (EPIC)


45 changes: 26 additions & 19 deletions sorc/ncep_post.fd/BNDLYR.f
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!> @file
!> @brief Subroutine that computes boundary layer fields.
!
!>
!> Computes constant mass mean fields
!>
!> This routine computes constant mass (boundary layer)
Expand All @@ -11,11 +11,31 @@
!> relative humidity, U and V winds, vertical velocity,
!> and precipitable water. Given these fundamental variables
!> other fields may be computed.
!>
!>
!> @note If you change parameter NBND in this routine
!> don't forget to change it also in the calling
!> subprogram, MISCLN.
!>
!> ### Program history log:
!> Date | Programmer | Comments
!> -----|------------|---------
!> 1993-01-29 | RUSS TREADON | Original file
!> 1993-05-07 | RUSS TREADON | ADDED DOC BLOCK AND MORE COMMENTS.
!> 1993-06-19 | RUSS TREADON | ADDED LVLBND TO PARAMETER LIST.
!> 1996-03-07 | MIKE BALDWIN | CHANGE PWTR CALC TO INCLUDE CLD WTR SPEED UP CODE
!> 1998-06-16 | T BLACK | CONVERSION FROM 1-D TO 2-D
!> 1998-08-18 | MIKE BALDWIN | CHANGE QSBND TO RHBND IN CALL, COMPUTE RH OVER ICE
!> 1998-12-22 | MIKE BALDWIN | BACK OUT RH OVER ICE
!> 2000-01-04 | JIM TUCCILLO | MPI VERSION
!> 2002-01-15 | MIKE BALDWIN | WRF VERSION
!> 2020-11-10 | JESSE MENG | USE UPP_PHYSICS MODULE
!> 2021-08-20 | Wen Meng | Retrict computation fro undefined points.
!> 2021-09-02 | Bo Cui | Decompose UPP in X direction.
!>
!> @author Russ Treadon W/NP2 @date 1993-01-29
! ------------------------------------------------------------------------------------------
!> @brief Computes boundary layer fields.
!>
!> @param[out] PBND - Layer mean pressure in NBND boundary layers (NBL).
!> @param[out] TBND - Layer mean temperature in NBL.
!> @param[out] QBND - Layer mean specific humidity in NBL.
Expand All @@ -28,23 +48,10 @@
!> @param[out] QCNVBND - Layer moisture convergence in NBL.
!> @param[out] LVLBND - ETA layer at midpoint of NBL.
!>
!> Program History
!> - 93-01-29 RUSS TREADON
!> - 93-05-07 RUSS TREADON - ADDED DOC BLOCK AND MORE COMMENTS.
!> - 93-06-19 RUSS TREADON - ADDED LVLBND TO PARAMETER LIST.
!> - 96-03-07 MIKE BALDWIN - CHANGE PWTR CALC TO INCLUDE CLD WTR
!> SPEED UP CODE
!> - 98-06-16 T BLACK - CONVERSION FROM 1-D TO 2-D
!> - 98-08-18 MIKE BALDWIN - CHANGE QSBND TO RHBND IN CALL,
!> COMPUTE RH OVER ICE
!> - 98-12-22 MIKE BALDWIN - BACK OUT RH OVER ICE
!> - 00-01-04 JIM TUCCILLO - MPI VERSION
!> - 02-01-15 MIKE BALDWIN - WRF VERSION
!> - 20-11-10 JESSE MENG - USE UPP_PHYSICS MODULE
!> - 21-08-20 Wen Meng - Retrict computation fro undefined points.
!> - 21-09-02 Bo Cui - Decompose UPP in X direction.
!>
!> @author Russ Treadon W/NP2 @date 1993-01-29
!> @note If you change parameter NBND in this routine
!> don't forget to change it also in the calling
!> subprogram, MISCLN.

SUBROUTINE BNDLYR(PBND,TBND,QBND,RHBND,UBND,VBND, &
WBND,OMGBND,PWTBND,QCNVBND,LVLBND)

Expand Down
18 changes: 10 additions & 8 deletions sorc/ncep_post.fd/BOUND.f
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@
!> @brief bound() clips data in passed array.
!>
!> @author Russ Treadon W/NP2 @date 1993-01-18

!> This routine bounds data in the passed array
!> FLD (im x jm elements long) and clips data values such
!> that on exiting the routine
!>
!> This routine bounds data in the passed array FLD (im x jm elements long)
!> and clips data values such that on exiting the routine
!> @code
!> FMIN <= FLD(I,J) <= FMAX
!> @endcode
!> for all points.
!>
!> @param[in] FMIN Lower (inclusive) bound for data.
!> @param[in] FMAX Upper (inclusive) bound for data.
!> @param[out] FLD Array whose elements are bounded by [FMIN,FMAX].
!>
!> ### Program History Log
!> Date | Programmer | Comments
!> -----|------------|---------
Expand All @@ -26,6 +21,13 @@
!> 2021-09002 | Bo Cui | Decompose UPP in X direction
!>
!> @author Russ Treadon W/NP2 @date 1993-01-18
!---------------------------------------------------------------------------------------
!> @brief Clips data in passed array.
!>
!> @param[in] FMIN Lower (inclusive) bound for data.
!> @param[in] FMAX Upper (inclusive) bound for data.
!> @param[out] FLD Array whose elements are bounded by [FMIN,FMAX].
!>
SUBROUTINE BOUND(FLD,FMIN,FMAX)

!
Expand Down
2 changes: 1 addition & 1 deletion sorc/ncep_post.fd/CALDWP.f
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
!> @file
!> @brief Subroutine related to dewpoint temperature.
!> @brief Subroutine that calculates dewpoint temperature.
!
!> Computes dewpoint from P, T, and Q.
!>
Expand Down
1 change: 1 addition & 0 deletions sorc/ncep_post.fd/CALGUST.f
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SUBROUTINE CALGUST(LPBL,ZPBL,GUST)
!
!
!*****************************************************************************
!> CALMXW computes max wind level fields.
! START CALMXW HERE.
!
! LOOP OVER THE GRID.
Expand Down
27 changes: 15 additions & 12 deletions sorc/ncep_post.fd/CALHEL.f
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!> @file
!> @brief Subroutine that computes storm relative helicity.
!
!> @brief Subroutine that computes storm relative helicity and storm motion.
!>
!> This routine computes estimated storm motion and storm-relative
!> environmental helicity. (Davies-Jones et al 1990) the algorithm
!> processd as follows.
Expand All @@ -12,16 +12,7 @@
!> method (Bunkers et al. 1988) which has been found to do better in cases with
!> 'non-classic' hodographs (such as Northwest-flow events) and do as well or
!> better than the old method in more classic situations.
!>
!> @param[in] DEPTH Depth in meters over whcih helicity should be computed; allows one to distinguish 0-3 km and 0-1 km values.
!> @param[out] UST Estimated U Component (m/s) Of Storm motion.
!> @param[out] VST Estimated V Component (m/s) Of Storm motion.
!> @param[out] HELI Storm-relative heliciry (m**2/s**2).
!> @param[out] USHR1 U Component (m/s) Of 0-1 km shear.
!> @param[out] VSHR1 V Component (m/s) Of 0-1 km shear.
!> @param[out] USHR6 U Component (m/s) Of 0-0.5 to 5.5-6.0 km shear.
!> @param[out] VSHR6 V Component (m/s) Of 0-0.5 to 5.5-6.0 km shear.
!>
!>
!> ### Program history log:
!> Date | Programmer | Comments
!> -----|------------|---------
Expand All @@ -40,6 +31,18 @@
!> 2022-10-07 | Tracy Hertneky | Add left mover for storm motion in SH
!>
!> @author Michael Baldwin W/NP2 @date 1994-08-22
! -----------------------------------------------------------------------------------
!> @brief Computes storm relative helicity and storm motion.
!>
!> @param[in] DEPTH Depth in meters over whcih helicity should be computed; allows one to distinguish 0-3 km and 0-1 km values.
!> @param[out] UST Estimated U Component (m/s) Of Storm motion.
!> @param[out] VST Estimated V Component (m/s) Of Storm motion.
!> @param[out] HELI Storm-relative heliciry (m**2/s**2).
!> @param[out] USHR1 U Component (m/s) Of 0-1 km shear.
!> @param[out] VSHR1 V Component (m/s) Of 0-1 km shear.
!> @param[out] USHR6 U Component (m/s) Of 0-0.5 to 5.5-6.0 km shear.
!> @param[out] VSHR6 V Component (m/s) Of 0-0.5 to 5.5-6.0 km shear.
!>
SUBROUTINE CALHEL(DEPTH,UST,VST,HELI,USHR1,VSHR1,USHR6,VSHR6)

!
Expand Down
68 changes: 45 additions & 23 deletions sorc/ncep_post.fd/CMASSI.f
Original file line number Diff line number Diff line change
@@ -1,33 +1,55 @@
!> @file
!> @brief CMASSI defines variables related to mass and precipitation
!> See CCPP Ferrier-Aligo microphysics modules for more information
module CMASSI_mod
!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
implicit none
!
!-----------------------------------------------------------------------
REAL, PARAMETER :: DMImin=.05e-3, DMImax=1.e-3, &
& XMImin=1.e6*DMImin, XMImax=1.e6*DMImax
INTEGER, PARAMETER :: MDImin=XMImin, MDImax=XMImax
REAL, PARAMETER :: DMImin=.05e-3, & !< Minimum mean mass of precipitation ice particles.
DMImax=1.e-3, & !< Maximum mean mass of precipitation ice particles.
XMImin=1.e6*DMImin, & !< Minimum mean mass of precipitation ice particles (in microns).
XMImax=1.e6*DMImax !< Maximum mean mass of precipitation ice particles (in microns).

INTEGER, PARAMETER :: MDImin=XMImin, & !< Minimum mean diameter of precipitation ice particles.
MDImax=XMImax !< Maximum mean diameter of precipitation ice particles.

!-----------------------------------------------------------------------
!--- Mean mass of precpitation ice particles as functions of their mean
! size (in microns)
!
REAL MASSI(MDImin:MDImax)
!

REAL MASSI(MDImin:MDImax) !< Mean mass of precipitation ice particles as functions of their mean size (in microns).

!--- Mean rain drop diameters vary from 50 microns to 1000 microns
! DMRmax definition is moved to microinit and has different values depending on imp_physics
REAL, PARAMETER :: DMRmin=.05E-3, DelDMR=1.E-6 &
&, XMRmin=1.E6*DMRmin, N0r0=8.E6, N0rmin=1.e4
REAL DMRmax,XMRmax
INTEGER, PARAMETER :: MDRmin=XMRmin
INTEGER MDRmax
!
!> DMRmax definition is moved to microinit and has different values depending on imp_physics

REAL, PARAMETER :: DMRmin=.05E-3, & !< Minimum mean rain drop diameter (0.05 mm).
DelDMR=1.E-6, & !< One-micron interval (Lookup tables store solutions at 1 micron intervals [DelDMR] of mean rain drop diameter.).
XMRmin=1.E6*DMRmin, & !< Minimum mean rain drop diameter (in microns).
N0r0=8.E6, & !< Assumed intercept (m**-4) of rain drops if drop diameters are between 0.2 and 1.0 mm.
N0rmin=1.e4 !< Minimum intercept (m**-4) for rain drops.

REAL DMRmax & !< Maximum mean rain drop diameter.
,XMRmax !< Maximum mean rain drop diameter.

INTEGER, PARAMETER :: MDRmin=XMRmin !< Minimum mean rain drop diameter (in microns).
INTEGER MDRmax !< Maximum mean rain drop diameter (in microns).

!
!--- Various rain lookup tables
!
REAL RQR_DRmin,RQR_DRmax, &
CN0r0,CN0r_DMRmin,CN0r_DMRmax
!
!

REAL RQR_DRmin & !< Rain content (kg/m**3) for mean drop diameter of .05 mm.
,RQR_DRmax & !< Rain content (kg/m**3) for mean drop diameter of 1.0 mm.
,CN0r0 & !< Constant derived from N0r0.
,CN0r_DMRmin & !< Minimum (starting) value for rain lookup tables for mean rain drop diameters.
,CN0r_DMRmax !< Maximum (ending) value for rain lookup tables for mean rain drop diameters.

!--- Other important parameters
! (NLImax, FLARGE2 are used for the older version of the microphysics)
!
REAL T_ICE,NLImax,FLARGE2,TRAD_ice
!
! (NLImax, FLARGE2 are used for the older version of the microphysics)
!
REAL T_ICE & !< Temperature (C) threshold at which all remaining liquid water is glaciated to ice.
,NLImax & !< Maximum number concentrations (m**-3) of large ice (snow/graupel/sleet).
,FLARGE2 & !< Set in MICROINIT.F (no longer used).
,TRAD_ice !< Defined as 0.5*T_ICE+TFRZ, or 253.15K, in other routines. Possibly refers to thermal radiation of ice or ice nucleation temperature ?


end module CMASSI_mod
Loading
Loading