This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Greetings! As of MetPy 1.5.0, `cape_cin` and all of the variations (including `surface_based_cape_cin`) now use the virtual temperature when calculating buoyancy. Versions before this did not use the virtual temperature. Cheers! Ryan > I am a beginner user of metpy. I have used metpy 1.4. I want to ask about > surface base CAPE in metpy 1.4: is it also follow hobbs,1977 a formula that > uses virtual temperature? in metpy.calc.cape_cin showed that this function > used virtual temperature to get CAPE value, but I was hesitant about the > formula used in metpy.calc.surface_based_cape ? Ticket Details =================== Ticket ID: XCR-768812 Department: Support Python Priority: Low Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.