Re: [Matplotlib-users] CAPE and CIN calculation in Python

2014-03-31 Thread Gökhan Sever
As for the rest of the two suggestions: [ https://github.com/pmarshwx/SHARPpy/tree/gui https://github.com/PyAOS/aoslib] there doesn't seem be routines included for CAPE and CIN calculations. I am working on idealized orographic precipitation simulations in WRF that will hopefully be presented in t

Re: [Matplotlib-users] CAPE and CIN calculation in Python

2014-03-31 Thread Gökhan Sever
Thanks Alex. This seems to be the easiest way to approach the problem. However, for the sake of reproducibility, I am looking for a way to interface to one of the common fortran routines for the task. Your suggested approach will require some sort of interpolation at the very least to make the esti

Re: [Matplotlib-users] CAPE and CIN calculation in Python

2014-03-31 Thread Gökhan Sever
Hi James, I have managed to run CLIMT's thermodyn.py . Most of the functions I tested from within the Driver.f90 works fine except the CAPE and CIN routines. I sent an e-mail to the author regarding this but nothing back from him so far. Would you give a test if I send you a simple sounding data?

Re: [Matplotlib-users] CAPE and CIN calculation in Python

2014-03-29 Thread Alex Goodman
You can easily visualize the CAPE and CIN with matplotlib using fill_between() on the environmental and parcel temperature curves. As for actually calculating it though, I don't know of a way to do it directly from matplotlib. There are probably several other python packages out there that can, but

[Matplotlib-users] CAPE and CIN calculation in Python

2014-03-29 Thread Gökhan Sever
Hello, Lately, I am working on plotting sounding profiles on a SkewT/LogP diagram. The SkewT package which is located at https://github.com/tchubb/SkewT has a nice feature to lift a parcel on dry/moist adiabats. This is very useful to demonstrate the regions of CIN and CAPE overlaid with the full