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! It looks like we're close in this open Pull Request: https://github.com/Unidata/MetPy/pull/823 The challenge is that we have had trouble getting some reliable values to test against to make sure that what we've implemented is actually correct. Any help in validating this implementation would be greatly appreciated. Ryan > Hi there, > > I was trying to implement DCAPE & DCIN using this formulation ( > https://github.com/Unidata/MetPy/issues/728), and was wondering if you have > developed a function for it? I'm getting an error when calling the > definition [i.e., dcape,dcin = downdraft_cape_cin(P, T, Td)]: > > IndexError: index 0 is out of bounds for axis 0 with size 0 > Ticket Details =================== Ticket ID: WWJ-319477 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.