From fc6cc4b371f46949ad975978f87328a91e70ed21 Mon Sep 17 00:00:00 2001 From: a-urq Date: Tue, 27 Feb 2024 19:31:03 -0600 Subject: [PATCH] Custom parcel origin T/Td/p/z added at Cameron's request --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bd5b4f..aac0031 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,13 @@ calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, pseudoadiaba calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, pseudoadiabatic_switch=False, storm_motion_type="mean_wind", inflow_layer_bottom: pint.Quantity = 0 * units.kilometer, inflow_layer_top: pint.Quantity = 3 * units.kilometer) # Uses user-computed CAPE, LFC, and EL values -calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, cape=3500 * units("J/kg"), lfc=500 * units("m"), cape=12500 * units("m")) +calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, cape=3500 * units("J/kg"), lfc=500 * units("m"), el=12500 * units("m")) + +# Uses custom T/Td values for the parcel origin +calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, origin_temperature=305 * units('degK'), origin_dewpoint=300 * units('degK')) + +# Uses custom T/Td/p/z values for the parcel origin +calc_ecape_parcel(p, z, T, Td, u, v, True, entrainment_switch=True, origin_temperature=305 * units('degK'), origin_dewpoint=300 * units('degK'), origin_pressure=70000 * units('Pa'), origin_height=3000 * units('m')) ``` # Verification