Skip to content

Commit

Permalink
add metadata for orbital parameters in cam_control_mod
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Nov 25, 2024
1 parent 623ef7b commit 1af369d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/control/cam_control_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ module cam_control_mod
logical, protected :: brnch_retain_casename ! true => branch run may use same caseid as
! the run being branched from

!> \section arg_table_cam_control_mod Argument Table
!! \htmlinclude arg_table_cam_control_mod.html
real(r8), protected :: eccen ! Earth's eccentricity factor (unitless) (typically 0 to 0.1)
real(r8), protected :: obliqr ! Earth's obliquity in radians
real(r8), protected :: lambm0 ! Mean longitude of perihelion at the
Expand Down
27 changes: 27 additions & 0 deletions src/control/cam_control_mod.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[ccpp-table-properties]
name = cam_control_mod
type = module

[ccpp-arg-table]
name = cam_control_mod
type = module
[ eccen ]
standard_name = eccentricity_factor
units = 1
type = real | kind = r8
dimensions = ()
[ obliqr ]
standard_name = obliquity
units = radian
type = real | kind = r8
dimensions = ()
[ lambm0 ]
standard_name = mean_longitude_of_perihelion_at_vernal_equinox
units = radian
type = real | kind = r8
dimensions = ()
[ mvelpp ]
standard_name = moving_vernal_equinox_longitude_perihelion_plus_pi
units = radian
type = real | kind = r8
dimensions = ()
1 change: 1 addition & 0 deletions src/data/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<!-- CAM-SIMA Host model meta files -->
<!-- Meta-files with DDTs must be listed first -->
<metadata_file>$SRCROOT/src/utils/spmd_utils.meta</metadata_file>
<metadata_file>$SRCROOT/src/control/cam_control_mod.meta</metadata_file>
<metadata_file>$SRCROOT/src/control/cam_logfile.meta</metadata_file>
<metadata_file>$SRCROOT/src/control/camsrfexch.meta</metadata_file>
<metadata_file>$SRCROOT/src/control/runtime_obj.meta</metadata_file>
Expand Down

0 comments on commit 1af369d

Please sign in to comment.