Problem with pres_hybrid_ccm

From: <sbasu_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 08 2011 - 11:22:42 MDT


I used "pres_hybrid_ccm" to get the pressure levels. Then I calculated
Potential temperature and used "center_finite_diff_n" to calculate
vertical gradient of potential temperature. But the pressure values from a
model output have surface pressure as the 26th level and 3mb as the 1st.
So when I am calculating gradient its doing opposite way starting from 3mb
to surface level instead of surface and going upwards. I am attaching the
code in case you need to see something.
Can anybody suggest how to fix this issue?


Soumik Basu
Graduate Student, Research Assistant
International Arctic Research Center
University of Alaska Fairbanks
This email was sent using SquirrelMail.
   "Webmail for nuts!"

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Sat Apr 9 03:23:25 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 19 2011 - 18:32:03 MDT