Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions ndsl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ 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)
Comment thread
oelbert marked this conversation as resolved.
Outdated
DZ_MIN = Float(2.0)
CV_AIR = CP_AIR - RDGAS # Heat capacity of dry air at constant volume
RDG = -RDGAS / GRAV
Expand Down
1 change: 1 addition & 0 deletions ndsl/namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ 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
Comment thread
oelbert marked this conversation as resolved.
Outdated

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