Skip to content

Calculating ML CCL #3308

Answered by dopplershift
Cjseng asked this question in Q&A
Dec 7, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

ccl can be passed an optional mixed_layer_depth argument to have it calculate the starting point as the mixed layer over that depth. So you'd probably want to use:

import metpy.calc as mpcalc
from metpy.units import units

# Read data
p, t, td = ...

ccl = mpcalc.ccl(p, t, td, mixed_layer_depth=100 * units.hPa)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Cjseng
Comment options

@dopplershift
Comment options

@Cjseng
Comment options

@dopplershift
Comment options

@Cjseng
Comment options

Answer selected by dopplershift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants