Problem with pres_hybrid_ccm

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

Hello,

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?

Thanks,

-- 
*************************************
Soumik Basu
Graduate Student, Research Assistant
International Arctic Research Center
University of Alaska Fairbanks
Fairbanks,Alaska,USA
**************************************
-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

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