[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #LWT-163846]: computer code for CAPE

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.


  • Subject: [GEMPAK #LWT-163846]: computer code for CAPE
  • Date: Fri, 27 Apr 2007 11:02:42 -0600

> Hello,
> 
> I have some sounding data that I want to use to compute CAPE (convective
> available potential energy). I know GEMPAK offers this function. But
> downloading, installing, and most of all, learning to use it would take much
> effort. Since my goal is simply to compute CAPE, I wonder whether there is an
> individual (e.g. FORTAN) code just for computing CAPE. My data is in text
> format. Your help is greatly appreciated.
> 
> Sincerely,
> 
> Jingfeng Wang
> 
> Parsons Lab, MIT
> 
> 

Jingfeng,

The GEMPAK source code is available to reference, but the library routines are
somewhat dependent on the their own environment of data arrays, so using the
subroutine would require some reworking of the expected data arrays being 
passed.
At some point, you would have to be willing to learn how the api is constructed,
or learn how to put your data into the GEMPAK package.

You may find a better solution through NCL:
http://www.ncl.ucar.edu/
http://www.ncl.ucar.edu/Document/Functions/Built-in/rip_cape_2d.shtml


Steve Chiswell
Unidata User Support

Ticket Details
===================
Ticket ID: LWT-163846
Department: Support GEMPAK
Priority: Normal
Status: Closed