[Thread Prev][Thread Next][Index]

Re: [ferret_users] convert Pa to hPa



Thanks

it works nicely
and it seemed that I forgot the @asn transformation

Helene

David Wang a écrit :

Helene,

You may try:
yes? define axis/z/units=mb newz = z[gz=myvar]/100
yes? let myvar_on_newz = myvar[gz=newz@asn]
yes? show grid/z myvar_on_newz

- d.

Helene Brogniez wrote:

Hi all,

I am using data that have Pascal for the pressure units instead of hPa or mb.
Is there an easy way to define the vertical axis in hPa?
I tried using the ppl yaxis, but it doesn't seem to work. (but I'm not sure that I use it the right way...)
Also, I tried to define a new axis, but since Pa is not a unit recognized by Ferret, the regridding doesn't work:
even though I have a new axis, defined correctly between 1000 and 10 hPa, all the data are located below 1000 since
it is associated to values between 100000 and 1000 Pa.

Thanks a lot for your help,

Helene


--
Climate System Center / Department of the Geophysical Sciences
The University of Chicago
5734 S. Ellis Ave.
Chicago, IL, 60637 USA
web : http://geosci.uchicago.edu/~hbrogniez



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement