Re: Hybrid level to pressure level

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 14 2011 - 08:02:07 MDT

The 'hyam/hybm' is just a short hand way of writing
'hyam and hybm'. You are using the function correctly.

On 4/14/11 1:53 AM, Sabeerali(sebi) wrote:
> I want to convert the CCSM hybrid coordinate to pressure coordinate.So I
> used the vinth2p function.I used the following scripts. My level is
> hybrid level at midpoints (1000*(A+B))
> So I am confused with the sentence in the description of function
> vinth2p where it is saying that "If /datai/ is on midlevels
> (interfaces), then /hyam///hybm/ (/hyai///hybi/) coefficients should be
> input." What is mean by /the division hyam///hybm. If that is the case
> how I can change my scripts? or the below script is O.K? Any help would
> be appreciated./
>
> begin
>
> f=addfile("file.nc <http://file.nc>","r")
> hyam=f->hyam
> hybm=f->hybm
> psurf=f->PS
> P0=1000
> lev_press=(/10,20,30,50,70,100,150,200,250,300 \
> ,400,500,600,700,850,925,1000/)
> uwnd=f->uwnd ;time,lev,lat,lon
> u_new=vinth2p(uwnd,hyam,hybm,lev_press,psurf,1,P0,1,True)
> end
>
> Thanks in advance
> sabeer
>
>
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Apr 15 00:02:24 2011

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