problem of gsn_csm_pres_hgt

From: <lzl_at_nyahnyahspammersnyahnyah>
Date: Mon Jan 14 2013 - 01:57:50 MST

Hi,

I had a problem to plot "gsn_csm_pres_hgt", the error is:

   "The coordinate array must contain the attribute 'units' 'mb' 'Mb' 'MB' ...etc. "

However, I used pres_hybrid_ccm to calculate pressure first, and also had coordinate units for each variables in the beginning. Then I used PotVortHybrid to get potential vorticity. Sould I need to reclaim the array again after I did any claculation? Thank you very much for your help.
  
Here is brief description in my scrip:
    
    p0 = 100000. ; since ps is in Pa
    pm60 = pres_hybrid_ccm(PS60a,p0,hyam60,hybm60)
    pm30 = pres_hybrid_ccm(PS30a,p0,hyam30,hybm30)
   PV30 = PotVortHybrid(pm30,ppU30,ppV30,ppT30,lat30, 0, 0)
   PV60 = PotVortHybrid(pm60,ppU60,ppV60,ppT60,lat60, 0, 0)

Thank you!

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jan 14 01:58:13 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:31:38 MST