Skip to content
Merged
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
2 changes: 2 additions & 0 deletions ndsl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ class ConstantVersions(Enum):
raise RuntimeError("Constant selector failed, bad code.")

SECONDS_PER_DAY = Float(86400.0)
SBC = 5.670400e-8
"""Stefan-Boltzmann constant (W/m^2/K^4)"""
DZ_MIN = Float(2.0)
CV_AIR = CP_AIR - RDGAS # Heat capacity of dry air at constant volume
RDG = -RDGAS / GRAV
Expand Down
2 changes: 2 additions & 0 deletions ndsl/namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,8 @@ class Namelist:
nf_omega: int = NamelistDefaults.nf_omega
fv_sg_adj: int = NamelistDefaults.fv_sg_adj
n_sponge: int = NamelistDefaults.n_sponge
daily_mean: bool = False
"""Flag to replace cosz with daily mean value in physics"""

@classmethod
def from_f90nml(cls, namelist: f90nml.Namelist):
Expand Down