lair.pcaps#

Valley heat deficit and persistent cold air pools.

valleyheatdeficit() integrates a sounding’s potential-temperature deficit from the valley floor to a height (Whiteman et al., 2014), and determine_pcap_events() finds the persistent cold air pool (PCAP) events, the periods when the deficit stays above a threshold. build_pcap_mask() and filter_pcap_events() mark or drop the times inside them.

Functions

build_pcap_mask

Build a boolean mask for PCAP events.

determine_pcap_events

Determine persistent cold air pool (PCAP) events from the valley heat deficit.

filter_pcap_events

Filter a DataFrame to exclude rows within PCAP events.

valleyheatdeficit

Calculate the valley heat deficit.